diff --git a/tool/ssaudit b/tool/ssaudit index 7e5122d..53187ae 100755 --- a/tool/ssaudit +++ b/tool/ssaudit @@ -218,7 +218,7 @@ if [ "$try_run_ret" -ne 0 ]; then ## 若安装检测仍然失败 echo "----------------------------------------" echo "在 $ace_cmd 环境中预检成功,开始安装..." echo "----------------------------------------" - $ace_cmd 'dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yf' + $ace_cmd 'dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yfq' success=true break # 跳出循环 else @@ -242,7 +242,7 @@ if [ "$try_run_ret" -ne 0 ]; then ## 若安装检测仍然失败 exit "$try_run_ret" fi else ## 如果主机安装检测成功 - dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yf + dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yfq fi ### 退出阶段保持不变 ### diff --git a/tool/ssinstall b/tool/ssinstall index c1c5547..25fa3ae 100755 --- a/tool/ssinstall +++ b/tool/ssinstall @@ -232,7 +232,7 @@ if [ "$try_run_ret" -ne 0 ]; then ## 若安装检测仍然失败 echo "----------------------------------------" echo "在 $ace_cmd 环境中预检成功,开始安装..." echo "----------------------------------------" - $ace_cmd 'dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yf' + $ace_cmd 'dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yfq' success=true break # 跳出循环 else @@ -256,7 +256,7 @@ if [ "$try_run_ret" -ne 0 ]; then ## 若安装检测仍然失败 exit "$try_run_ret" fi else ## 如果主机安装检测成功 - dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yf + dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yfq fi ### 退出阶段保持不变 ### diff --git a/tool/update-upgrade/ss-do-upgrade.sh b/tool/update-upgrade/ss-do-upgrade.sh index 474a777..dee6321 100755 --- a/tool/update-upgrade/ss-do-upgrade.sh +++ b/tool/update-upgrade/ss-do-upgrade.sh @@ -146,7 +146,7 @@ for PKG_UPGRADE in $PKG_UPGRADE_LIST; do update_transhell # 启动升级任务 - (yes | pkexec ${HERE}/ss-do-upgrade-worker.sh upgrade-app $PKG_UPGRADE -y 2>&1 > /dev/null ) & + (yes n | pkexec ${HERE}/ss-do-upgrade-worker.sh upgrade-app $PKG_UPGRADE -yfq 2>&1 > /dev/null ) & # 计算进度百分比 progress=$(( count * 100 / total - 1))