mirror of http://192.168.10.4:8099/sane/dpkg.git
彻底解决立思辰私密打包问题
This commit is contained in:
parent
1799afd65f
commit
02eec6a38d
6
build.sh
6
build.sh
|
@ -326,12 +326,12 @@ cd ..
|
||||||
##############
|
##############
|
||||||
|
|
||||||
##############进行copy语言包
|
##############进行copy语言包
|
||||||
|
cp -rf release/lang release/$syspath/$cpu
|
||||||
|
|
||||||
##############lsc不替换
|
##############lsc不替换
|
||||||
if [ "$oem" != "lscsm" ];
|
if [ "$oem" != "lscsm" ];
|
||||||
then
|
then
|
||||||
cp -rf release/lang release/$syspath/$cpu
|
|
||||||
sed -i "1s/.*/$packagename/g" dpkg/$syspath/$oem/DEBIAN/control
|
sed -i "1s/.*/$packagename/g" dpkg/$syspath/$oem/DEBIAN/control
|
||||||
sed -i "2s/.*/$Version/g" dpkg/$syspath/$oem/DEBIAN/control
|
sed -i "2s/.*/$Version/g" dpkg/$syspath/$oem/DEBIAN/control
|
||||||
fi
|
fi
|
||||||
|
@ -392,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 release/$syspath/$cpu/* dpkg/$syspath/$oem/opt/$dpkgpath
|
cp -rf 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