diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-06-08 09:02:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-08 09:02:49 +0200 |
commit | 0412e85a57c2f271c24fe837e3a6adcf60bc63f1 (patch) | |
tree | df3afba956b9b533d28f39deba5525ca1613b7f3 /applications/luci-app-opkg/root/usr/libexec/opkg-call | |
parent | f48934d9d2aa87acbf5eecf972c0c09723fa3c7d (diff) | |
parent | 79ace93ef03cc789999cc7c45244c18fb93264b8 (diff) |
Merge pull request #4136 from zhanhb/default-opkg-lists-dir
luci-app-opkg: update default opkg list dir
Diffstat (limited to 'applications/luci-app-opkg/root/usr/libexec/opkg-call')
-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 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) ( |