From 1ed5e91aa89452bdff99211450e2b9a0a59985d8 Mon Sep 17 00:00:00 2001 From: simonzhangsz Date: Fri, 1 Nov 2024 17:14:31 +0800 Subject: [PATCH] Optimize the packaging process for BA --- misc/setomc.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/misc/setomc.sh b/misc/setomc.sh index 955292d4..619d3206 100755 --- a/misc/setomc.sh +++ b/misc/setomc.sh @@ -68,6 +68,10 @@ case "${M_ARG}" in done cp -rf ${CustomizedDir}/logo/* ${OMCStaticDir}/logo cp -rf ${CustomizedDir}/doc/* ${OMCStaticDir}/helpDoc + if [ "${C_ARG_LOWER}" == "ba" ]; then + rm -rf ${OMCStaticDir}/logo/zh_* + rm -rf ${OMCStaticDir}/helpDoc/zh_* + fi #perl -0777 -i -pe 's/omcuser/bluearcus/g' ${OMCRootDir}/etc/default/restconf.yaml #perl -0777 -i -pe 's/omcuser/bluearcus/g' ${OMCBinDir}/nehosts if [ $? = 0 ]; then @@ -91,6 +95,10 @@ case "${M_ARG}" in done cp -rf ${CustomizedDir}/logo/* ${OMCStaticDir}/logo cp -rf ${CustomizedDir}/doc/* ${OMCStaticDir}/helpDoc + if [ "${C_ARG_LOWER}" == "ba" ]; then + rm -rf ${OMCStaticDir}/logo/zh_* + rm -rf ${OMCStaticDir}/helpDoc/zh_* + fi if [ $? = 0 ]; then echo "done" fi