From 932e10713e3b9644f70ddc0e16bc721d3d0efdff Mon Sep 17 00:00:00 2001 From: monlor Date: Thu, 28 May 2020 09:31:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8F=92=E4=BB=B6=E6=89=93?= =?UTF-8?q?=E5=8C=85=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/gitsync.sh | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/tools/gitsync.sh b/tools/gitsync.sh index c7ab9f5..7ba7cda 100755 --- a/tools/gitsync.sh +++ b/tools/gitsync.sh @@ -67,15 +67,16 @@ pack() { mkdir -p appstore ls apps/ | while read line; do # 取用缓存数据 - 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" ] || [ -z "$(ls ${pack_dir}/appstore/${line}*)" ]; then - echo "打包$line..." - else - continue - fi - fi + # 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" ] || [ -z "$(ls ${pack_dir}/appstore/${line}*)" ]; then + # echo "打包$line..." + # else + # continue + # fi + # fi + echo "开始打包$line..." pack_app $line done gerneral_applist