mirror of http://192.168.10.4:8099/sane/dpkg.git
调整lscsm打包
This commit is contained in:
parent
7b153bd749
commit
a5cadfb2bc
15
build.sh
15
build.sh
|
@ -326,10 +326,15 @@ cd ..
|
||||||
##############
|
##############
|
||||||
|
|
||||||
##############进行copy语言包
|
##############进行copy语言包
|
||||||
cp -rf release/lang release/$syspath/$cpu
|
|
||||||
##############
|
|
||||||
sed -i "1s/.*/$packagename/g" dpkg/$syspath/$oem/DEBIAN/control
|
##############lsc不替换
|
||||||
sed -i "2s/.*/$Version/g" dpkg/$syspath/$oem/DEBIAN/control
|
if [ "$oem" != "lscsm" ];
|
||||||
|
then
|
||||||
|
cp -rf release/lang release/$syspath/$cpu
|
||||||
|
sed -i "1s/.*/$packagename/g" dpkg/$syspath/$oem/DEBIAN/control
|
||||||
|
sed -i "2s/.*/$Version/g" dpkg/$syspath/$oem/DEBIAN/control
|
||||||
|
fi
|
||||||
sed -i "3s/.*/$Architecture/g" dpkg/$syspath/$oem/DEBIAN/control
|
sed -i "3s/.*/$Architecture/g" dpkg/$syspath/$oem/DEBIAN/control
|
||||||
rm dpkg/$syspath/$oem/etc/udev/rules.d/*
|
rm dpkg/$syspath/$oem/etc/udev/rules.d/*
|
||||||
|
|
||||||
|
@ -387,7 +392,7 @@ then
|
||||||
cp sdk/include/scannerlib/* dpkg/$syspath/$oem/opt/$dpkgpath/include
|
cp sdk/include/scannerlib/* dpkg/$syspath/$oem/opt/$dpkgpath/include
|
||||||
elif [ "$oem" == "lscsm" ];
|
elif [ "$oem" == "lscsm" ];
|
||||||
then
|
then
|
||||||
cp -rf release/$syspath/$cpu/* dpkg/$syspath/$oem/opt/$dpkgpath
|
cp release/$syspath/$cpu/* dpkg/$syspath/$oem/opt/$dpkgpath
|
||||||
else
|
else
|
||||||
savedpkgpath="dpkg/$syspath/$oem/opt/apps/$dpkgpath"
|
savedpkgpath="dpkg/$syspath/$oem/opt/apps/$dpkgpath"
|
||||||
echo $dpkgpath
|
echo $dpkgpath
|
||||||
|
|
Loading…
Reference in New Issue