mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
opkg_manager: rework check for system-update script
avoids unnecessary debug output
This commit is contained in:
@@ -779,10 +779,10 @@ bool COPKGManager::hasOpkgSupport()
|
||||
return false;
|
||||
}
|
||||
|
||||
if (! find_executable(SYSTEM_UPDATE).empty()) {
|
||||
dprintf(DEBUG_NORMAL, "[COPKGManager] [%s - %d] " SYSTEM_UPDATE " script found\n", __func__, __LINE__);
|
||||
if (find_executable(SYSTEM_UPDATE).empty())
|
||||
dprintf(DEBUG_NORMAL, "[COPKGManager] [%s - %d] NOTE: " SYSTEM_UPDATE " script not found\n", __func__, __LINE__);
|
||||
else
|
||||
pm_cmd[CMD_UPGRADE] = SYSTEM_UPDATE;
|
||||
}
|
||||
|
||||
#if 0
|
||||
/* If directory /var/lib/opkg resp. /opt/opkg
|
||||
|
Reference in New Issue
Block a user