mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-11-14 21:12:21 +08:00
!298 fix: abandon dpkg
Merge pull request !298 from shenmo/auto-4915358-Reason-22474d88-1
This commit is contained in:
commit
44d04c5bcb
@ -122,8 +122,7 @@ DEBPATH=$(realpath "$1")
|
|||||||
exit "$try_run_ret"
|
exit "$try_run_ret"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dpkg --force-conflicts -i "$DEBPATH"
|
aptss install "$DEBPATH" -yf --reinstall
|
||||||
aptss install "$DEBPATH" -yf
|
|
||||||
|
|
||||||
if [ "$?" = "0" ] && [ "$2" = "--delete-after-install" ]; then
|
if [ "$?" = "0" ] && [ "$2" = "--delete-after-install" ]; then
|
||||||
if dpkg -s "$package_name" >/dev/null 2>&1; 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"
|
exit "$try_run_ret"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dpkg --force-conflicts -i "$DEBPATH"
|
aptss install "$DEBPATH" -yf --reinstall
|
||||||
aptss install "$DEBPATH" -yf
|
|
||||||
|
|
||||||
unlock_file "$DEBPATH"
|
unlock_file "$DEBPATH"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user