summaryrefslogtreecommitdiffstats
path: root/package/opkg/patches/011-old-config-location.patch
diff options
context:
space:
mode:
authoracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-09-13 08:13:36 +0000
committeracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-09-13 08:13:36 +0000
commit928ee695bb6ae6c1e4c31ed78ec7582244888930 (patch)
treebbe18e787173449daeea51f5c7868ccbc7ad422e /package/opkg/patches/011-old-config-location.patch
parent267340c8784563e8e4a6b4f3e870875619d5f043 (diff)
package/opkg: update to r563
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23050 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 4094713f3..85c6d68ff 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");
+