diff options
author | Huangbin Zhan <zhanhb88@gmail.com> | 2020-06-07 22:08:35 +0800 |
---|---|---|
committer | Huangbin Zhan <zhanhb88@gmail.com> | 2020-06-07 22:08:55 +0800 |
commit | 79ace93ef03cc789999cc7c45244c18fb93264b8 (patch) | |
tree | f2f8a0d8770ecf354e24730ab18e91fac233d465 /applications/luci-app-opkg | |
parent | fb153b8811d1deb4c91b17595d5c9fd764cb0554 (diff) |
luci-app-opkg: update default opkg list dir
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
Diffstat (limited to 'applications/luci-app-opkg')
-rwxr-xr-x | applications/luci-app-opkg/root/usr/libexec/opkg-call | 2 |
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 593097711..1234b7033 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) ( |