diff --git a/build.sh b/build.sh index af58bad..9d9f052 100755 --- a/build.sh +++ b/build.sh @@ -385,7 +385,7 @@ cp dpkg/60-sane.rules dpkg/$dpkgtype/$oem/etc/udev/rules.d/60-"$oem"sane.rules if [ "${oem:0-2:2}" != "so" ] && [ "${oem:0-3:3}" != "web" ]; then #创建sane的文件目录 //必须保证这一步成功 - exit 1 + rm -rf dpkg/$dpkgtype/$oem/usr/lib/* if [ $? -ne 0 ];then echo "del sane file fail"