X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=package%2Fsystem%2Fopkg%2Fpatches%2F011-old-config-location.patch;fp=package%2Fsystem%2Fopkg%2Fpatches%2F011-old-config-location.patch;h=05559268648ac7b08ebcd8dd3f704d69dc96fece;hp=0000000000000000000000000000000000000000;hb=4d953d3a481dd847524eae78c7aae00153bc7efd;hpb=801985e5286881dd578a19280b2a6c8e212a530d diff --git a/package/system/opkg/patches/011-old-config-location.patch b/package/system/opkg/patches/011-old-config-location.patch new file mode 100644 index 0000000000..0555926864 --- /dev/null +++ b/package/system/opkg/patches/011-old-config-location.patch @@ -0,0 +1,12 @@ +--- a/src/opkg-cl.c ++++ b/src/opkg-cl.c +@@ -207,6 +207,9 @@ args_parse(int argc, char *argv[]) + } + } + ++ if(!conf->conf_file && !conf->offline_root) ++ conf->conf_file = xstrdup("/etc/opkg.conf"); ++ + if (parse_err) + return parse_err; + else