mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-06-04 07:29:49 +08:00
fix: can not install depends
This commit is contained in:
parent
ce34fc763f
commit
32c74bc5a0
@ -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
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user