opkg_manager: don't use hardcoded path

instead of "/var/tuxbox/config" use CONFIGDIR instead.

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: 09d7361f42
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2016-01-04 (Mon, 04 Jan 2016)
This commit is contained in:
Stefan Seyfried
2016-01-04 20:24:36 +01:00
committed by vanhofen
parent 06bd550090
commit 8ddcda724c

View File

@@ -11,7 +11,7 @@
Adaptions: Adaptions:
Copyright (C) 2013 martii Copyright (C) 2013 martii
gitorious.org/neutrino-mp/martiis-neutrino-mp gitorious.org/neutrino-mp/martiis-neutrino-mp
Copyright (C) 2015 Stefan Seyfried Copyright (C) 2015-2016 Stefan Seyfried
License: GPL License: GPL
@@ -67,7 +67,7 @@
#define OPKG_TEST_DIR OPKG_TMP_DIR "/test" #define OPKG_TEST_DIR OPKG_TMP_DIR "/test"
#define OPKG_CL_CONFIG_OPTIONS " -V2 --tmp-dir=/tmp --cache=" OPKG_TMP_DIR #define OPKG_CL_CONFIG_OPTIONS " -V2 --tmp-dir=/tmp --cache=" OPKG_TMP_DIR
#define OPKG_BAD_PATTERN_LIST_FILE "/var/tuxbox/config/bad_package_pattern.list" #define OPKG_BAD_PATTERN_LIST_FILE CONFIGDIR "/bad_package_pattern.list"
#define OPKG_CONFIG_FILE "/etc/opkg/opkg.conf" #define OPKG_CONFIG_FILE "/etc/opkg/opkg.conf"
using namespace std; using namespace std;