瀏覽代碼

Update opkginstall.patch

kiddin9 4 年之前
父節點
當前提交
dbd84f1272
共有 1 個文件被更改,包括 8 次插入1 次删除
  1. 8 1
      devices/common/patches/opkginstall.patch

+ 8 - 1
devices/common/patches/opkginstall.patch

@@ -104,7 +104,14 @@
 
 
 --- a/package/feeds/luci/luci-app-opkg/root/usr/libexec/opkg-call
 --- a/package/feeds/luci/luci-app-opkg/root/usr/libexec/opkg-call
 +++ b/package/feeds/luci/luci-app-opkg/root/usr/libexec/opkg-call
 +++ b/package/feeds/luci/luci-app-opkg/root/usr/libexec/opkg-call
-@@ -19,7 +19,7 @@ case "$action" in
+@@ -13,13 +13,13 @@ case "$action" in
+ 		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:-/usr/lib/opkg/lists}" -type f '!' -name '*.sig' | xargs -r gzip -cd
+ 	;;
+-	install|update|remove)
++	install|update|upgrade|remove)
+ 		(
+ 			opkg="opkg"
  
  
  			while [ -n "$1" ]; do
  			while [ -n "$1" ]; do
  				case "$1" in
  				case "$1" in