mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
CSoftwareUpdate: show package feature as disabled without support
Origin commit data
------------------
Commit: 936735a77f
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-21 (Sun, 21 Dec 2014)
This commit is contained in:
@@ -106,12 +106,9 @@ int CSoftwareUpdate::showSoftwareUpdate()
|
||||
softUpdate.addItem(mf);
|
||||
|
||||
//firmware update via opkg
|
||||
if (COPKGManager::hasOpkgSupport()) {
|
||||
mf = new CMenuForwarder(LOCALE_OPKG_TITLE, true, NULL, new COPKGManager());
|
||||
mf->setHint(NEUTRINO_ICON_HINT_SW_UPDATE, LOCALE_MENU_HINT_OPKG);
|
||||
softUpdate.addItem(mf);
|
||||
}
|
||||
|
||||
mf = new CMenuForwarder(LOCALE_OPKG_TITLE, COPKGManager::hasOpkgSupport(), NULL, new COPKGManager());
|
||||
mf->setHint(NEUTRINO_ICON_HINT_SW_UPDATE, LOCALE_MENU_HINT_OPKG);
|
||||
softUpdate.addItem(mf);
|
||||
}
|
||||
|
||||
#ifdef BOXMODEL_APOLLO
|
||||
|
Reference in New Issue
Block a user