mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
opkg_manager: supplement to ensure update of package list after menu update
Origin commit data
------------------
Commit: a7b7eb02e6
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-05-14 (Fri, 14 May 2021)
This commit is contained in:
@@ -484,7 +484,7 @@ void COPKGManager::updateMenu()
|
||||
bool upgradesAvailable = false;
|
||||
getPkgData(CMD_LIST_INSTALLED);
|
||||
getPkgData(CMD_LIST_UPGRADEABLE);
|
||||
initPackagePatternLists();
|
||||
|
||||
for (map<string, struct pkg>::iterator it = pkg_map.begin(); it != pkg_map.end(); ++it) {
|
||||
/* this should no longer trigger at all */
|
||||
if (!isPermittedPackage(it->second.name))
|
||||
@@ -647,7 +647,7 @@ int COPKGManager::doUpdate()
|
||||
DisplayErrorMessage(msg.c_str());
|
||||
return r;
|
||||
}
|
||||
|
||||
initPackagePatternLists();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user