Skip to content

Commit

Permalink
fix: can not install depends
Browse files Browse the repository at this point in the history
  • Loading branch information
shenmo7192 committed Nov 5, 2024
1 parent ce34fc7 commit 32c74bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tool/ssaudit
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ DEBPATH=$(realpath "$1")
exit "$try_run_ret"
fi

dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yf --reinstall --allow-downgrades
dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yf

if [ "$?" = "0" ] && [ "$2" = "--delete-after-install" ]; then
if dpkg -s "$package_name" >/dev/null 2>&1; then
Expand Down
2 changes: 1 addition & 1 deletion tool/ssinstall
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ if [ ! -z "$IS_SHA512SUM_CHECKED" ]; then
exit "$try_run_ret"
fi

dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yf --reinstall --allow-downgrades
dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yf

unlock_file "$DEBPATH"

Expand Down

0 comments on commit 32c74bc

Please sign in to comment.