2020-05-01 15:44:06

This commit is contained in:
monlor
2020-05-01 15:44:06 +08:00
parent fdad7e4271
commit b7928602f8
2 changed files with 5 additions and 2 deletions

1
.gitignore vendored
View File

@@ -1,3 +1,2 @@
.DS_Store
appstore
deploy0

View File

@@ -70,7 +70,11 @@ pack() {
if [ -f ${pack_dir}/applist.txt ]; then
version_old=`cat ${pack_dir}/applist.txt | grep "$line|" | cut -d'|' -f4`
version_new=`cat apps/$line/config/$line.uci | grep "version=" | cut -d'=' -f2 | sed -e 's/"//g'`
[ "$version_new" != "$version_old" ] && echo "打包$line..." || continue
if [ "$version_new" != "$version_old" ] || [ ! -f ${pack_dir}/appstore/${line}* ]; then
echo "打包$line..."
else
continue
fi
fi
pack_app $line
done