fix:quotes

This commit is contained in:
shenmo 2024-10-21 02:06:34 +08:00
parent f3a690d9ae
commit 6fee032bd1
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -166,7 +166,7 @@ if [ ! -z "$IS_SHA512SUM_CHECKED" ]; then
fi
dpkg --force-conflicts -i "$DEBPATH"
aptss install $DEBPATH -yf
aptss install "$DEBPATH" -yf
unlock_file "$DEBPATH"