This commit is contained in:
modehua 2022-09-28 16:24:04 +08:00
parent 1c793f3edf
commit 0dfba5567c
1 changed files with 2 additions and 2 deletions

View File

@ -270,12 +270,12 @@ fi
cp -rf dpkg/$syspath/$oem/* backup/$syspath/$oem/$ver
if [ "$oem" == "hg" ] || [ "$oem" == "lsc" ] || [ "$oem" == "hw" ];
if [ "$oem" == "hg" ] || [ "$oem" == "lsc" ] || [ "$oem" == "hw" ];then
then
if [ ! -d "backup/dpkg/$time2/$dpkgtype" ];then
mkdir -p backup/dpkg/$time2/$dpkgtype
fi
elif [ "$oem" == "hgweb" ] || [ "$oem" == "lscweb" ] || [ "$oem" == "hwweb" ];
elif [ "$oem" == "hgweb" ] || [ "$oem" == "lscweb" ] || [ "$oem" == "hwweb" ];then
dpkgtype="web"
if [ ! -d "backup/dpkg/$time2/$dpkgtype" ];then
mkdir -p backup/dpkg/$time2/$dpkgtype