mirror of http://192.168.10.4:8099/sane/dpkg.git
build.sh
This commit is contained in:
parent
b0f99c6493
commit
098861313f
3
build.sh
3
build.sh
|
@ -382,9 +382,10 @@ rm dpkg/$dpkgtype/$oem/etc/udev/rules.d/*
|
|||
|
||||
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" ];
|
||||
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"
|
||||
|
|
Loading…
Reference in New Issue