sync: feat: aptss log enhance && upgrade-experience-enhance

This commit is contained in:
2024-11-28 21:45:06 +08:00
parent 72bb574c8e
commit 710acf793b
3 changed files with 43 additions and 21 deletions

View File

@@ -123,7 +123,7 @@ DEBPATH=$(realpath "$1")
exit "$try_run_ret"
fi
dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yf
dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yf
if [ "$?" = "0" ] && [ "$2" = "--delete-after-install" ]; then
if dpkg -s "$package_name" >/dev/null 2>&1; then