diff --git a/build.sh b/build.sh index 54f1fd6..2b2f4c0 100755 --- a/build.sh +++ b/build.sh @@ -44,6 +44,7 @@ if [ "$oem" != "hg" ] \ && [ "$oem" != "hw" ] \ && [ "$oem" != "hgweb" ] \ && [ "$oem" != "lscweb" ] \ +&& [ "$oem" != "lscwebscan" ] \ && [ "$oem" != "hgso" ] \ && [ "$oem" != "lscso" ] \ && [ "$oem" != "hwso" ] \ @@ -74,7 +75,7 @@ if [ "$oem" != "hg" ] \ && [ "$oem" != "gdtweb" ]; then echo "参数错误:$oem !!!" - echo "参数:华高:hg || hgweb ||hgso 立思层:lsc || lscweb ||lscso 汉王:hw || hwweb || hwso 沧田:cts" + echo "参数:华高:hg || hgweb ||hgso 立思层:lsc || lscweb || lscwebscan ||lscso 汉王:hw || hwweb || hwso 沧田:cts" exit 1 fi @@ -342,6 +343,10 @@ else then dpkgpath="lanxumwebscan" OEMHELPNAME="" + elif [ "$oem" == "lscwebscan" ]; + then + dpkgpath="lanxumwebapi" + OEMHELPNAME="" elif [ "$oem" == "hwweb" ]; then dpkgpath="hanvonwebscan" @@ -441,6 +446,7 @@ fi if [ "$oem" == "lsc" ] \ || [ "$oem" == "lscweb" ] \ +|| [ "$oem" == "lscwebscan" ] \ || [ "$oem" == "lscso" ] \ || [ "$oem" == "lscsm" ]; then @@ -604,7 +610,7 @@ then fi fi -if [ "$oem" == "lscweb" ] || [ "$oem" == "hwweb" ] || [ "$oem" == "hgweb" ] || [ "$oem" == "ctsweb" ] || [ "$oem" == "zjweb" ] || [ "$oem" == "dlweb" ] || [ "$oem" == "msdweb" ] || [ "$oem" == "msdweb" ]; +if [ "$oem" == "lscweb" ] || [ "$oem" == "lscwebscan" ] || [ "$oem" == "hwweb" ] || [ "$oem" == "hgweb" ] || [ "$oem" == "ctsweb" ] || [ "$oem" == "zjweb" ] || [ "$oem" == "dlweb" ] || [ "$oem" == "msdweb" ] || [ "$oem" == "msdweb" ]; then cp -rf release/$syspath/$cpu/* dpkg/$dpkgtype/$oem/opt/$dpkgpath/bin elif [ "$oem" == "hgso" ] || [ "$oem" == "hwso" ] || [ "$oem" == "lscso" ] || [ "$oem" == "ctsso" ] || [ "$oem" == "zjso" ] || [ "$oem" == "dlso" ] || [ "$oem" == "msdso" ] || [ "$oem" == "gdtso" ];