mirror of
https://gitee.com/amber-ce/amber-pm
synced 2026-05-14 02:00:20 +08:00
在检测更新时清理cache
This commit is contained in:
@@ -100,7 +100,7 @@ until ! echo $updatetext | grep -q "E:"; do
|
||||
updatetext=$(LANGUAGE=en_US apm update 2>&1)
|
||||
retry_count=$((retry_count + 1))
|
||||
done
|
||||
|
||||
apm clean
|
||||
update_app_number=$(env LANGUAGE=en_US apm list --upgradable 2>/dev/null | grep -c upgradable)
|
||||
echo "update_app_number is $update_app_number"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user