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.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/opkg/patches/011-old-config-location.patch b/package/opkg/patches/011-old-config-location.patch
index 931f4f1164..4094713f34 100644
--- a/package/opkg/patches/011-old-config-location.patch
+++ b/package/opkg/patches/011-old-config-location.patch
@@ -6,7 +6,7 @@
}
-
+
-+ if(!conf->conf_file)
++ if(!conf->conf_file && !conf->offline_root)
+ conf->conf_file = xstrdup("/etc/opkg.conf");
+
if (parse_err)