From 645f223a2a52aef91b4177369372f83af0581d00 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Fri, 28 Feb 2025 21:38:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20badeb=E7=A7=BB=E9=99=A4=E6=9B=B4?= =?UTF-8?q?=E5=A4=9A=E4=B8=AD=E6=96=87=E5=AD=97=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 6fad542..8461f53 100755 --- a/build.sh +++ b/build.sh @@ -338,7 +338,7 @@ case "${pkgtype}" in cp -rf ${BuildDir}/* ${DebBuildDir}/ cp -rf ${CustomizedDir}/ba.d ${DebBuildOMCDir}/static # replace Chinese character - find "${DebBuildOMCDir}/etc/db" -type f -name '*.sql' -exec sed -i 's/[一-龥]//g' {} + + find "${DebBuildOMCDir}/etc/db" -type f -name '*.sql' -exec sed -i 's/[一-龥()“”,。?!;:《》【】[]]~·]//g' {} + echo "Replace all chinese character." chmod +x ${DebBuildDir}/usr/local/omc/bin sed -i "s/YYYYMMDD/${RelDate}/g" ${DebBuildDir}/DEBIAN/control