mirror of
https://github.com/monlor/MIXBOX-ARCHIVE.git
synced 2026-03-10 15:31:20 +00:00
2020-05-01 15:44:06
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,2 @@
|
||||
.DS_Store
|
||||
appstore
|
||||
deploy0
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user