2020-05-07 11:13:34

This commit is contained in:
monlor
2020-05-07 11:13:35 +08:00
parent bb019623b2
commit 1b9179f4ef
5 changed files with 1 additions and 1 deletions

View File

@@ -70,7 +70,7 @@ 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'`
if [ "$version_new" != "$version_old" ] || [ ! -f ${pack_dir}/appstore/${line}* ]; then
if [ "$version_new" != "$version_old" ] || [ -z `ls ${pack_dir}/appstore/${line}*` ]; then
echo "打包$line..."
else
continue