luci-app-opkg: update default opkg list dir
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
This commit is contained in:
parent
fb153b8811
commit
79ace93ef0
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ case "$action" in
|
||||||
;;
|
;;
|
||||||
list-available)
|
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)
|
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)
|
install|update|remove)
|
||||||
(
|
(
|
||||||
|
|
Loading…
Reference in a new issue