mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! find_executable(SYSTEM_UPDATE).empty()) {
|
if (find_executable(SYSTEM_UPDATE).empty())
|
||||||
dprintf(DEBUG_NORMAL, "[COPKGManager] [%s - %d] " SYSTEM_UPDATE " script found\n", __func__, __LINE__);
|
dprintf(DEBUG_NORMAL, "[COPKGManager] [%s - %d] NOTE: " SYSTEM_UPDATE " script not found\n", __func__, __LINE__);
|
||||||
|
else
|
||||||
pm_cmd[CMD_UPGRADE] = SYSTEM_UPDATE;
|
pm_cmd[CMD_UPGRADE] = SYSTEM_UPDATE;
|
||||||
}
|
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
/* If directory /var/lib/opkg resp. /opt/opkg
|
/* If directory /var/lib/opkg resp. /opt/opkg
|
||||||
|
Reference in New Issue
Block a user