mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
opkg_manager: rework check for system-update script
avoids unnecessary debug output
Origin commit data
------------------
Branch: ni/coolstream
Commit: ec0ccc3f9e
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-04-10 (Sat, 10 Apr 2021)
------------------
This commit was generated by Migit
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