perf: 构建工具调整

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

No files matched your search

+2 -2
View File
@@ -25,12 +25,12 @@ if [ ! -f $RootDir/omc.conf ]; then
else
bash $RootDir/script/setup.sh -i
fi
rm -rf $RootDir/vendor
# exit while failed to run err
if [ $? -ne 0 ]; then
echo "Initialization failure."
exit 1
fi
rm -rf $RootDir/vendor
systemctl daemon-reload
systemctl enable omc.service
@@ -43,7 +43,7 @@ else
bash $RootDir/script/setup.sh -u
if [ $? -ne 0 ]; then
echo "Execution failed. Exiting."
echo "Upgrade failed."
exit 1
fi