fix: 安装速度降低

This commit is contained in:
2024-11-05 15:24:53 +08:00
parent 85823fdc23
commit ce34fc763f
3 changed files with 4 additions and 3 deletions

View File

@@ -166,7 +166,7 @@ if [ ! -z "$IS_SHA512SUM_CHECKED" ]; then
exit "$try_run_ret"
fi
aptss install "$DEBPATH" -yf --reinstall
dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yf --reinstall --allow-downgrades
unlock_file "$DEBPATH"