From ce34fc763f0ddea4b966b94352fe0ffe6de636c9 Mon Sep 17 00:00:00 2001 From: shenmo Date: Tue, 5 Nov 2024 15:24:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AE=89=E8=A3=85=E9=80=9F=E5=BA=A6?= =?UTF-8?q?=E9=99=8D=E4=BD=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debian/changelog | 3 ++- tool/ssaudit | 2 +- tool/ssinstall | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 3ea7fb4..206f9c2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ -spark-store (4.3.2.2) UNRELEASED; urgency=medium +spark-store (4.3.3) UNRELEASED; urgency=medium * 修复点击更新需要输入密码的问题 + * 修复安装速度下降的问题 -- shenmo Tue, 24 Sep 2024 11:27:08 +0800 diff --git a/tool/ssaudit b/tool/ssaudit index 634cb7b..37ee792 100755 --- a/tool/ssaudit +++ b/tool/ssaudit @@ -123,7 +123,7 @@ DEBPATH=$(realpath "$1") exit "$try_run_ret" fi - aptss install "$DEBPATH" -yf --reinstall + dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yf --reinstall --allow-downgrades if [ "$?" = "0" ] && [ "$2" = "--delete-after-install" ]; then if dpkg -s "$package_name" >/dev/null 2>&1; then diff --git a/tool/ssinstall b/tool/ssinstall index 2f1fcb3..9ea6120 100755 --- a/tool/ssinstall +++ b/tool/ssinstall @@ -166,7 +166,7 @@ if [ ! -z "$IS_SHA512SUM_CHECKED" ]; then exit "$try_run_ret" fi - aptss install "$DEBPATH" -yf --reinstall + dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yf --reinstall --allow-downgrades unlock_file "$DEBPATH"