更新时显示正在安装的应用

This commit is contained in:
2023-01-16 15:04:04 +08:00
parent a934373f1e
commit 7163f8ee80
2 changed files with 4 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ case $1 in
;;
upgrade-app)
aptss install "${@:2}" --only-upgrade 2>&1 | tee /tmp/spark-store-app-upgrade-log.txt
aptss install "${@:2}" --only-upgrade 2>&1 | tee /tmp/spark-store-app-upgrade-log.txt
IS_UPGRADE_ERROR=`cat /tmp/spark-store-app-upgrade-log.txt | grep "Package manager quit with exit code."`
echo "$IS_UPGRADE_ERROR" > /tmp/spark-store-app-upgrade-status.txt
;;