From: Huangbin Zhan Date: Sun, 7 Jun 2020 14:08:35 +0000 (+0800) Subject: luci-app-opkg: update default opkg list dir X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=refs%2Fpull%2F4136%2Fhead;p=oweals%2Fluci.git luci-app-opkg: update default opkg list dir Signed-off-by: Huangbin Zhan --- 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) (