garypang13 4 年之前
父節點
當前提交
234a4d0c66
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      devices/common/patches/hijack-domain.patch
  2. 1 1
      devices/common/patches/opkginstall.patch

+ 1 - 1
devices/common/patches/hijack-domain.patch

@@ -14,7 +14,7 @@
 +		ss.addremove = true;
 +		ss.anonymous = true;
 +
-+		so = ss.option(form.Value, 'name', _('Domain name'));
++		so = ss.option(form.Value, 'name', _('Domain Name'));
 +		so.datatype = 'hostname';
 +		so.rmempty  = true;
 +

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

@@ -13,7 +13,7 @@
  
  			if flock -x 200; then
  				$opkg $action "$@" </dev/null >/tmp/opkg.out 2>/tmp/opkg.err
-+				if [[ $@ == "luci-app-*" ]]; then
++				if [[ $@ == luci-app-* ]]; then
 +					$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