summaryrefslogtreecommitdiff
path: root/package/opkg/patches/011-old-config-location.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/opkg/patches/011-old-config-location.patch')
-rw-r--r--package/opkg/patches/011-old-config-location.patch6
1 files changed, 2 insertions, 4 deletions
diff --git a/package/opkg/patches/011-old-config-location.patch b/package/opkg/patches/011-old-config-location.patch
index 4094713..85c6d68 100644
--- a/package/opkg/patches/011-old-config-location.patch
+++ b/package/opkg/patches/011-old-config-location.patch
@@ -1,11 +1,9 @@
--- a/src/opkg-cl.c
+++ b/src/opkg-cl.c
-@@ -172,7 +172,10 @@ args_parse(int argc, char *argv[])
- printf("Confusion: getopt_long returned %d\n", c);
+@@ -200,6 +200,9 @@ args_parse(int argc, char *argv[])
}
}
--
-+
+
+ if(!conf->conf_file && !conf->offline_root)
+ conf->conf_file = xstrdup("/etc/opkg.conf");
+