This commit is contained in:
luoliangyi 2022-09-30 11:05:52 +08:00
parent 162ff3e823
commit 50ded46da0
1 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,7 @@ echo "$password"
sleep 1
if [ "$oem" != "hg" ] && [ "$oem" != "lsc" ] && [ "$oem" != "hw" ] && [ "$oem" != "hgweb" ] && [ "$oem" != "lscweb" ] && [ "$oem" != "hwweb" ] && [ "$oem" != "hgso" ] && [ "$oem" != "lscso" ] && [ "$oem" != "hwso" ] && [ "$oem" != "lscsm" ];
then
echo "参数错误!!!"
echo "参数错误:$oem"
echo "参数:华高:hg || hgweb 立思层:lsc || lscweb 汉王:hw || hwweb"
exit 1
fi
@ -116,7 +116,7 @@ syspath="kylin"
fi
if [ "$oem" == "lsc" ] || [ "$oem" == "lscweb" ] || [ "$oem" == "lscso" ];then
if [ "$oem" == "lsc" ] || [ "$oem" == "lscweb" ] || [ "$oem" == "lscso" ] || [ "$oem" == "lscsm" ];then
ver3=14
elif [ "$oem" == "hw" ] || [ "$oem" == "hwweb" ] || [ "$oem" == "hwso" ];then
ver3=16
@ -166,7 +166,7 @@ if [ "$oem" == "hgso" ] ;then
./build.sh hg
elif [ "$oem" == "hwso" ];then
./build.sh hw
elif [ "$oem" == "lscso" ];then
elif [ "$oem" == "lscso" ] || [ "$oem" == "lscsm" ];then
./build.sh lsc
else
./build.sh $oem
@ -187,7 +187,7 @@ if [ "$oem" == "hgso" ] ;then
./build.sh hg
elif [ "$oem" == "hwso" ];then
./build.sh hw
elif [ "$oem" == "lscso" ];then
elif [ "$oem" == "lscso" ] || [ "$oem" == "lscsm" ];then
./build.sh lsc
fi