mirror of http://192.168.10.4:8099/sane/dpkg.git
This commit is contained in:
parent
ad25714686
commit
082c0a0d00
25
build.sh
25
build.sh
|
@ -30,6 +30,7 @@ if [ "$oem" != "hg" ] \
|
||||||
&& [ "$oem" != "lscso" ] \
|
&& [ "$oem" != "lscso" ] \
|
||||||
&& [ "$oem" != "hwso" ] \
|
&& [ "$oem" != "hwso" ] \
|
||||||
&& [ "$oem" != "lscsm" ]\
|
&& [ "$oem" != "lscsm" ]\
|
||||||
|
&& [ "$oem" != "zj" ]\
|
||||||
&& [ "$oem" != "cts" ];
|
&& [ "$oem" != "cts" ];
|
||||||
then
|
then
|
||||||
echo "参数错误:$oem !!!"
|
echo "参数错误:$oem !!!"
|
||||||
|
@ -216,7 +217,7 @@ syspath="kylin"
|
||||||
elif [ "$oem" == "cts" ];
|
elif [ "$oem" == "cts" ];
|
||||||
then
|
then
|
||||||
dpkgpath="scanner-driver-cumtenn"
|
dpkgpath="scanner-driver-cumtenn"
|
||||||
if [ "$oem" == "zj" ] ;
|
elif [ "$oem" == "zj" ];
|
||||||
then
|
then
|
||||||
dpkgpath="scanner-driver-microtek"
|
dpkgpath="scanner-driver-microtek"
|
||||||
elif [ "$oem" == "hgweb" ];
|
elif [ "$oem" == "hgweb" ];
|
||||||
|
@ -441,25 +442,14 @@ fi
|
||||||
|
|
||||||
cp -rf dpkg/$syspath/$oem/* backup/$syspath/$oem/$ver
|
cp -rf dpkg/$syspath/$oem/* backup/$syspath/$oem/$ver
|
||||||
|
|
||||||
if [ "$oem" == "hg" ] || [ "$oem" == "hgweb" ] || [ "$oem" == "hgso" ];
|
|
||||||
|
|
||||||
|
if [ ! -d "backup/dpkg/$mainverstr.$minver/$time2/$sanelibname" ];
|
||||||
then
|
then
|
||||||
dpkgtype="hg"
|
mkdir -p "backup/dpkg/$mainverstr.$minver/$time2/$sanelibname/"
|
||||||
elif [ "$oem" == "lsc" ] || [ "$oem" == "lscweb" ] || [ "$oem" == "lscso" ] || [ "$oem" == "lscsm" ];
|
|
||||||
then
|
|
||||||
dpkgtype="lsc"
|
|
||||||
elif [ "$oem" == "cts" ] || [ "$oem" == "ctsweb" ] || [ "$oem" == "ctsso" ];
|
|
||||||
then
|
|
||||||
dpkgtype="cts"
|
|
||||||
else
|
|
||||||
dpkgtype="hw"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -d "backup/dpkg/$mainverstr.$minver/$time2/$dpkgtype" ];
|
dpkg -b backup/$syspath/$oem/$ver backup/dpkg/$mainverstr.$minver/$time2/$sanelibname/$dpkgpath"_"$ver"_"$dpkgarch.deb
|
||||||
then
|
|
||||||
mkdir -p "backup/dpkg/$mainverstr.$minver/$time2/$dpkgtype/"
|
|
||||||
fi
|
|
||||||
|
|
||||||
dpkg -b backup/$syspath/$oem/$ver backup/dpkg/$mainverstr.$minver/$time2/$dpkgtype/$dpkgpath"_"$ver"_"$dpkgarch.deb
|
|
||||||
getismount
|
getismount
|
||||||
|
|
||||||
if [ $ismount == 0 ];
|
if [ $ismount == 0 ];
|
||||||
|
@ -470,4 +460,3 @@ then
|
||||||
echo $password|sudo -S cp -rf backup/dpkg/$mainverstr.$minver $FIND_FILE/$syspath
|
echo $password|sudo -S cp -rf backup/dpkg/$mainverstr.$minver $FIND_FILE/$syspath
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
package: scanner-driver-microtek
|
package: scanner-driver-microtek
|
||||||
Version: 4.37.18521.23016
|
Version: 4.37.20521.23034
|
||||||
Architecture: amd64
|
Architecture: amd64
|
||||||
Section: utils
|
Section: utils
|
||||||
Priority: optional
|
Priority: optional
|
||||||
|
|
|
@ -13,7 +13,5 @@ dirname=$PWD/$dirname
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export LD_LIBRARY_PATH=$dirname/../lib
|
export LD_LIBRARY_PATH=$dirname/../lib
|
||||||
export LD_LIBRARY_PATH='/usr/lib/aarch64-linux-gnu'
|
|
||||||
export LD_LIBRARY_PATH='/usr/lib/aarch64-linux-gnu/sane'
|
|
||||||
|
|
||||||
$dirname/$appname $*
|
$dirname/$appname $*
|
||||||
|
|
Binary file not shown.
|
@ -1,10 +0,0 @@
|
||||||
#!/usr/bin/env xdg-open
|
|
||||||
[Desktop Entry]
|
|
||||||
Encoding=UTF-8
|
|
||||||
Type=Application
|
|
||||||
Name=MicrotekScan
|
|
||||||
Name[zh_CN]=中晶扫描应用程序
|
|
||||||
Exec=sh /opt/apps/scanner-driver-microtek/bin/MicrotekScan.sh
|
|
||||||
Icon=/usr/share/icons/hicolor/128x128/apps/scanner-driver-microtek.png
|
|
||||||
Categories=Application;Graphics;GTK;RasterGraphics;Scanning;
|
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 9.3 KiB |
Loading…
Reference in New Issue