perf: 构建工具调整

This commit is contained in:
TsMask
2025-03-18 16:41:56 +08:00
parent 17112eac81
commit 3275755e05
2 changed files with 7 additions and 5 deletions

View File

@@ -122,8 +122,10 @@ $OMCBinFile -c $confFile --sqlPath $OMCEtcDir/database/$MODE/$T_PARAM --sqlSourc
# ========================= Customize
cp -rf $OMCEtcDir/vendor/$VENDORS/web/* $OMCEtcDir/web/background
cp -rf $OMCEtcDir/vendor/$VENDORS/static/* /usr/local/$VENDORS/static
$OMCBinFile -c $confFile --sqlPath $OMCEtcDir/vendor/$VENDORS/database/$MODE/customized.sql --sqlSource $MODE
if [[ "$T_PARAM" == "install" ]]; then
cp -rf $OMCEtcDir/vendor/$VENDORS/web/* $OMCEtcDir/web/background
cp -rf $OMCEtcDir/vendor/$VENDORS/static/* /usr/local/$VENDORS/static
$OMCBinFile -c $confFile --sqlPath $OMCEtcDir/vendor/$VENDORS/database/$MODE/customized.sql --sqlSource $MODE
fi
# bash setup.sh -i -m standard -c omc