From 79ace93ef03cc789999cc7c45244c18fb93264b8 Mon Sep 17 00:00:00 2001 From: Huangbin Zhan Date: Sun, 7 Jun 2020 22:08:35 +0800 Subject: luci-app-opkg: update default opkg list dir Signed-off-by: Huangbin Zhan --- applications/luci-app-opkg/root/usr/libexec/opkg-call | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'applications/luci-app-opkg/root/usr') 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) ( -- cgit v1.2.3