From 23f4a119b46e3a4820c5ad3bc868adc806b0b26d Mon Sep 17 00:00:00 2001 From: 13038267101 Date: Fri, 5 Aug 2022 10:57:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=89=88=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.sh | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/build.sh b/build.sh index a2691bf..28009b2 100755 --- a/build.sh +++ b/build.sh @@ -60,6 +60,7 @@ syspath="kylin" if [ "$oem" == "hw" ] ;then + dpkgpath="scanner-driver-hanvon" elif [ "$oem" == "lsc" ];then dpkgpath="scanner-driver-lanxum" @@ -76,24 +77,26 @@ else syspath="kylin" if [ "$oem" == "hw" ] ;then - ver3=14 dpkgpath="scanner-driver-hanvon" - elif [ "$oem" == "lsc" ];then - ver3=16 + elif [ "$oem" == "lsc" ];then dpkgpath="scanner-driver-lanxum" elif [ "$oem" == "hg" ];then dpkgpath="scanner-driver-huagao" elif [ "$oem" == "hgweb" ];then dpkgpath="huagaowebscan" elif [ "$oem" == "lscweb" ];then - ver3=14 dpkgpath="lanxumwebscan" elif [ "$oem" == "hwweb" ];then - ver3=16 dpkgpath="hanvonwebscan" fi fi + +if [ "$oem" == "lsc" ] || [ "$oem" == "lscweb" ] ;then +ver3=16 +elif [ "$oem" == "hw" ] || [ "$oem" == "hwweb" ] ;then +ver3=14 +fi ver3=$[$ver3 * 10] if [ "$cpu" == "x86_64" ]; then ver3=$[$ver3 + 1]