This commit is contained in:
modehua 2023-04-17 09:15:58 +08:00
parent b337ac33e5
commit 8afaf6f835
1 changed files with 1 additions and 1 deletions

View File

@ -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"