add --enable-pkg-management configure switch; default=no

Origin commit data
------------------
Branch: ni/coolstream
Commit: fc100fdd44
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-04-11 (Sun, 11 Apr 2021)

Origin message was:
------------------
- add --enable-pkg-management configure switch; default=no

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2021-04-11 00:13:36 +02:00
parent 0518e69139
commit 6416ba0194
8 changed files with 39 additions and 9 deletions

View File

@@ -48,7 +48,9 @@
#include "scan_setup.h"
#include "settings_manager.h"
#include "videosettings.h"
#if ENABLE_PKG_MANAGEMENT
#include "opkg_manager.h"
#endif
#include <zapit/zapit.h>
#include <system/helpers.h>
@@ -140,6 +142,7 @@ int CStartUpWizard::exec(CMenuTarget* parent, const string & /*actionKey*/)
CNetworkSetup::getInstance()->setWizardMode(SNeutrinoSettings::WIZARD_OFF);
}
#if ENABLE_PKG_MANAGEMENT
//package update check
if(advanced && res != menu_return::RETURN_EXIT_ALL)
{
@@ -154,6 +157,7 @@ int CStartUpWizard::exec(CMenuTarget* parent, const string & /*actionKey*/)
g_settings.softupdate_autocheck_packages = true;
}
}
#endif
bool init_settings = false;
if (CFEManager::getInstance()->haveSat())