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"