彻底解决立思辰私密打包问题

This commit is contained in:
modehua 2023-02-06 15:38:11 +08:00
parent 1799afd65f
commit 02eec6a38d
1 changed files with 3 additions and 3 deletions

View File

@ -326,12 +326,12 @@ cd ..
##############
##############进行copy语言包
cp -rf release/lang release/$syspath/$cpu
##############lsc不替换
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
@ -392,7 +392,7 @@ then
cp sdk/include/scannerlib/* dpkg/$syspath/$oem/opt/$dpkgpath/include
elif [ "$oem" == "lscsm" ];
then
cp release/$syspath/$cpu/* dpkg/$syspath/$oem/opt/$dpkgpath
cp -rf release/$syspath/$cpu/* dpkg/$syspath/$oem/opt/$dpkgpath
else
savedpkgpath="dpkg/$syspath/$oem/opt/apps/$dpkgpath"
echo $dpkgpath