mirror of http://192.168.10.4:8099/sane/dpkg.git
smdpkg
This commit is contained in:
parent
162ff3e823
commit
50ded46da0
8
build.sh
8
build.sh
|
@ -25,7 +25,7 @@ echo "$password"
|
||||||
sleep 1
|
sleep 1
|
||||||
if [ "$oem" != "hg" ] && [ "$oem" != "lsc" ] && [ "$oem" != "hw" ] && [ "$oem" != "hgweb" ] && [ "$oem" != "lscweb" ] && [ "$oem" != "hwweb" ] && [ "$oem" != "hgso" ] && [ "$oem" != "lscso" ] && [ "$oem" != "hwso" ] && [ "$oem" != "lscsm" ];
|
if [ "$oem" != "hg" ] && [ "$oem" != "lsc" ] && [ "$oem" != "hw" ] && [ "$oem" != "hgweb" ] && [ "$oem" != "lscweb" ] && [ "$oem" != "hwweb" ] && [ "$oem" != "hgso" ] && [ "$oem" != "lscso" ] && [ "$oem" != "hwso" ] && [ "$oem" != "lscsm" ];
|
||||||
then
|
then
|
||||||
echo "参数错误!!!"
|
echo "参数错误:$oem!!!"
|
||||||
echo "参数:华高:hg || hgweb 立思层:lsc || lscweb 汉王:hw || hwweb"
|
echo "参数:华高:hg || hgweb 立思层:lsc || lscweb 汉王:hw || hwweb"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
@ -116,7 +116,7 @@ syspath="kylin"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
if [ "$oem" == "lsc" ] || [ "$oem" == "lscweb" ] || [ "$oem" == "lscso" ];then
|
if [ "$oem" == "lsc" ] || [ "$oem" == "lscweb" ] || [ "$oem" == "lscso" ] || [ "$oem" == "lscsm" ];then
|
||||||
ver3=14
|
ver3=14
|
||||||
elif [ "$oem" == "hw" ] || [ "$oem" == "hwweb" ] || [ "$oem" == "hwso" ];then
|
elif [ "$oem" == "hw" ] || [ "$oem" == "hwweb" ] || [ "$oem" == "hwso" ];then
|
||||||
ver3=16
|
ver3=16
|
||||||
|
@ -166,7 +166,7 @@ if [ "$oem" == "hgso" ] ;then
|
||||||
./build.sh hg
|
./build.sh hg
|
||||||
elif [ "$oem" == "hwso" ];then
|
elif [ "$oem" == "hwso" ];then
|
||||||
./build.sh hw
|
./build.sh hw
|
||||||
elif [ "$oem" == "lscso" ];then
|
elif [ "$oem" == "lscso" ] || [ "$oem" == "lscsm" ];then
|
||||||
./build.sh lsc
|
./build.sh lsc
|
||||||
else
|
else
|
||||||
./build.sh $oem
|
./build.sh $oem
|
||||||
|
@ -187,7 +187,7 @@ if [ "$oem" == "hgso" ] ;then
|
||||||
./build.sh hg
|
./build.sh hg
|
||||||
elif [ "$oem" == "hwso" ];then
|
elif [ "$oem" == "hwso" ];then
|
||||||
./build.sh hw
|
./build.sh hw
|
||||||
elif [ "$oem" == "lscso" ];then
|
elif [ "$oem" == "lscso" ] || [ "$oem" == "lscsm" ];then
|
||||||
./build.sh lsc
|
./build.sh lsc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue