mirror of http://192.168.10.4:8099/sane/dpkg.git
This commit is contained in:
parent
1156ab2a3b
commit
cff7ba1dc0
7
build.sh
7
build.sh
|
@ -89,6 +89,11 @@ then
|
||||||
dpkgtype=kylin
|
dpkgtype=kylin
|
||||||
sanelibname="${oem%${oem:0-3:3}*}"
|
sanelibname="${oem%${oem:0-3:3}*}"
|
||||||
echo $sanelibname
|
echo $sanelibname
|
||||||
|
elif [ "${oem:0-7:7}" == "webscan" ];
|
||||||
|
then
|
||||||
|
dpkgtype=kylin
|
||||||
|
sanelibname="${oem%${oem:0-7:7}*}"
|
||||||
|
echo $sanelibname
|
||||||
elif [ "${oem:0-4:4}" == "tool" ];
|
elif [ "${oem:0-4:4}" == "tool" ];
|
||||||
then
|
then
|
||||||
sanelibname="${oem%${oem:0-4:4}*}"
|
sanelibname="${oem%${oem:0-4:4}*}"
|
||||||
|
@ -564,7 +569,7 @@ rm dpkg/$dpkgtype/$oem/etc/udev/rules.d/*
|
||||||
|
|
||||||
cp dpkg/60-sane.rules dpkg/$dpkgtype/$oem/etc/udev/rules.d/60-"$oem"sane.rules
|
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" ] && [ "${oem:0-4:4}" != "tool" ];
|
if [ "${oem:0-2:2}" != "so" ] && [ "${oem:0-3:3}" != "web" ] && [ "${oem:0-7:7}" != "webscan" ] && [ "${oem:0-4:4}" != "tool" ];
|
||||||
then
|
then
|
||||||
#创建sane的文件目录 //必须保证这一步成功
|
#创建sane的文件目录 //必须保证这一步成功
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue