Compare commits
2 Commits
1156ab2a3b
...
4a21d10b74
Author | SHA1 | Date |
---|---|---|
luoliangyi | 4a21d10b74 | |
luoliangyi | cff7ba1dc0 |
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的文件目录 //必须保证这一步成功
|
||||||
|
|
||||||
|
|
Before Width: | Height: | Size: 455 KiB After Width: | Height: | Size: 455 KiB |
Before Width: | Height: | Size: 455 KiB After Width: | Height: | Size: 455 KiB |
0
kylin/hg/usr/share/applications/scanner-driver-HGFWUpgradeApp.desktop
Normal file → Executable file
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 455 KiB After Width: | Height: | Size: 455 KiB |