mirror of http://192.168.10.4:8099/sane/dpkg.git
调整打包路径
This commit is contained in:
parent
c2c3574a07
commit
1c793f3edf
10
build.sh
10
build.sh
|
@ -275,11 +275,15 @@ then
|
|||
if [ ! -d "backup/dpkg/$time2/$dpkgtype" ];then
|
||||
mkdir -p backup/dpkg/$time2/$dpkgtype
|
||||
fi
|
||||
else
|
||||
elif [ "$oem" == "hgweb" ] || [ "$oem" == "lscweb" ] || [ "$oem" == "hwweb" ];
|
||||
dpkgtype="web"
|
||||
if [ ! -d "backup/dpkg/$time2/$dpkgtype" ];then
|
||||
mkdir -p backup/dpkg/$time2/$dpkgtype
|
||||
fi
|
||||
else
|
||||
dpkgtype="sdk"
|
||||
if [ ! -d "backup/dpkg/$time2/$dpkgtype" ];then
|
||||
mkdir -p backup/dpkg/$time2/$dpkgtype
|
||||
fi
|
||||
|
||||
dpkg -b backup/$syspath/$oem/$ver backup/dpkg/$time2/$dpkgtype/$dpkgpath"_"$ver"_"$dpkgarch.deb
|
||||
fi
|
||||
dpkg -b backup/$syspath/$oem/$ver backup/dpkg/$time2/$dpkgtype/$oem/$dpkgpath"_"$ver"_"$dpkgarch.deb
|
||||
|
|
Loading…
Reference in New Issue