Explorar el Código

Update opkginstall.patch

garypang13 hace 4 años
padre
commit
156f58686c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      devices/common/patches/opkginstall.patch

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

@@ -14,7 +14,7 @@
  			if flock -x 200; then
  				$opkg $action "$@" </dev/null >/tmp/opkg.out 2>/tmp/opkg.err
 +				if [[ $@ == "luci-app-*" ]]; then
-+					$opkg $action luci-i18n-"$(echo $@ | cut -d - -f 3-4)"-zh-cn </dev/null >>/tmp/opkg.out 2>>/tmp/opkg.err
++					$opkg $action luci-i18n-"$(echo $@ | cut -d - -f 3-4)"-zh-cn </dev/null >>/tmp/opkg.out 2>/dev/null
 +				fi
 +				sed -i "/resolve_conffiles/d" /tmp/opkg.err || true
 +				sed -i "/uci: Entry not found/d" /tmp/opkg.err || true