summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-opkg/root/usr/libexec
diff options
context:
space:
mode:
authorHuangbin Zhan <zhanhb88@gmail.com>2020-06-07 22:08:35 +0800
committerHuangbin Zhan <zhanhb88@gmail.com>2020-06-07 22:08:55 +0800
commit79ace93ef03cc789999cc7c45244c18fb93264b8 (patch)
treef2f8a0d8770ecf354e24730ab18e91fac233d465 /applications/luci-app-opkg/root/usr/libexec
parentfb153b8811d1deb4c91b17595d5c9fd764cb0554 (diff)
luci-app-opkg: update default opkg list dir
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
Diffstat (limited to 'applications/luci-app-opkg/root/usr/libexec')
-rwxr-xr-xapplications/luci-app-opkg/root/usr/libexec/opkg-call2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-opkg/root/usr/libexec/opkg-call b/applications/luci-app-opkg/root/usr/libexec/opkg-call
index 5930977112..1234b70330 100755
--- a/applications/luci-app-opkg/root/usr/libexec/opkg-call
+++ b/applications/luci-app-opkg/root/usr/libexec/opkg-call
@@ -11,7 +11,7 @@ case "$action" in
;;
list-available)
lists_dir=$(sed -rne 's#^lists_dir \S+ (\S+)#\1#p' /etc/opkg.conf /etc/opkg/*.conf 2>/dev/null | tail -n 1)
- find "${lists_dir:-/tmp/opkg-lists}" -type f '!' -name '*.sig' | xargs -r gzip -cd
+ find "${lists_dir:-/usr/lib/opkg/lists}" -type f '!' -name '*.sig' | xargs -r gzip -cd
;;
install|update|remove)
(