fix: badeb 中文字符串替换
This commit is contained in:
1 parent
cc7a42edb2
commit
4bc25c840a
1 file changed
-3
@@ -292,9 +292,6 @@ case "${pkgtype}" in
|
|||||||
chmod 755 ${DebBuildDir}/DEBIAN/postinst
|
chmod 755 ${DebBuildDir}/DEBIAN/postinst
|
||||||
chmod 755 ${DebBuildDir}/DEBIAN/postrm
|
chmod 755 ${DebBuildDir}/DEBIAN/postrm
|
||||||
cp -rf ${BuildDir}/* ${DebBuildDir}/
|
cp -rf ${BuildDir}/* ${DebBuildDir}/
|
||||||
cp -rf ${CustomizedDir}/ba.d/* ${DebBuildOMCDir}/static/omc.d
|
|
||||||
cp -rf ${CustomizedDir}/ba.d/logo/en_brand.png ${DebBuildOMCDir}/static/omc.d/logo/zh_brand.png
|
|
||||||
cp -rf ${CustomizedDir}/ba.d/logo/en_icon.png ${DebBuildOMCDir}/static/omc.d/logo/zh_icon.png
|
|
||||||
cp -rf ${CustomizedDir}/ba.d ${DebBuildOMCDir}/static
|
cp -rf ${CustomizedDir}/ba.d ${DebBuildOMCDir}/static
|
||||||
# replace Chinese character
|
# 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' {} +
|
||||||
|
|||||||
Reference in new issue
Block a user