try fix install won't fix dependencies

This commit is contained in:
2024-10-21 01:57:34 +08:00
parent 120793dbcc
commit f3a690d9ae
7 changed files with 129 additions and 127 deletions

View File

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