From 7aafea5f5dc828b115dc66e62ed15a53e671d5e6 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Mon, 8 Jun 2015 10:41:59 +0200 Subject: [PATCH] COPKGManager: use opkg as binary name only, reduce support check deps Some deps are currently not really required. --- src/gui/opkg_manager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/opkg_manager.cpp b/src/gui/opkg_manager.cpp index 35d9800f0..a5990aba2 100644 --- a/src/gui/opkg_manager.cpp +++ b/src/gui/opkg_manager.cpp @@ -55,8 +55,8 @@ #include #include #include -/* later this can be changed to just "opkg" */ -#define OPKG_CL "opkg-cl" + +#define OPKG_CL "opkg" #define OPKG_TMP_DIR "/tmp/.opkg" #define OPKG_TEST_DIR OPKG_TMP_DIR "/test" #define OPKG_CL_CONFIG_OPTIONS " -V2 --tmp-dir=/tmp --cache=" OPKG_TMP_DIR @@ -533,7 +533,7 @@ int COPKGManager::showMenu() bool COPKGManager::hasOpkgSupport() { - string deps[] = {"/bin/opkg-check-config", "/bin/update-alternatives", "/var/lib/opkg", "/share/opkg/intercept"}; + string deps[] = {"/var/lib/opkg", /*"/bin/opkg-check-config", "/bin/update-alternatives", "/share/opkg/intercept"*/}; if (find_executable(OPKG_CL).empty()) { dprintf(DEBUG_NORMAL, "[COPKGManager] [%s - %d]" OPKG_CL " executable not found\n", __func__, __LINE__);