mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-06-02 22:49:49 +08:00
fix: abandon dpkg
This commit is contained in:
parent
723475ca9c
commit
e7d15f903d
@ -122,8 +122,7 @@ DEBPATH=$(realpath "$1")
|
||||
exit "$try_run_ret"
|
||||
fi
|
||||
|
||||
dpkg --force-conflicts -i "$DEBPATH"
|
||||
aptss install "$DEBPATH" -yf
|
||||
aptss install "$DEBPATH" -yf --reinstall
|
||||
|
||||
if [ "$?" = "0" ] && [ "$2" = "--delete-after-install" ]; then
|
||||
if dpkg -s "$package_name" >/dev/null 2>&1; then
|
||||
|
@ -165,8 +165,7 @@ if [ ! -z "$IS_SHA512SUM_CHECKED" ]; then
|
||||
exit "$try_run_ret"
|
||||
fi
|
||||
|
||||
dpkg --force-conflicts -i "$DEBPATH"
|
||||
aptss install "$DEBPATH" -yf
|
||||
aptss install "$DEBPATH" -yf --reinstall
|
||||
|
||||
unlock_file "$DEBPATH"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user