Merge pull request !305 from shenmo/dev
This commit is contained in:
2024-11-05 07:28:39 +00:00
committed by Gitee
5 changed files with 6 additions and 5 deletions

3
debian/changelog vendored
View File

@@ -1,6 +1,7 @@
spark-store (4.3.2.2) UNRELEASED; urgency=medium spark-store (4.3.3) UNRELEASED; urgency=medium
* 修复点击更新需要输入密码的问题 * 修复点击更新需要输入密码的问题
* 修复安装速度下降的问题
-- shenmo <shenmo@spark-app.store> Tue, 24 Sep 2024 11:27:08 +0800 -- shenmo <shenmo@spark-app.store> Tue, 24 Sep 2024 11:27:08 +0800

View File

@@ -1 +1 @@
3.0(native) 3.0 (native)

View File

@@ -52,7 +52,7 @@ for argument in "$@"; do
option="source" option="source"
root=0 root=0
;; ;;
changelog|search|policy) changelog|search|policy|show)
root=0 root=0
;; ;;
esac esac

View File

@@ -123,7 +123,7 @@ DEBPATH=$(realpath "$1")
exit "$try_run_ret" exit "$try_run_ret"
fi fi
aptss install "$DEBPATH" -yf --reinstall dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yf --reinstall --allow-downgrades
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

View File

@@ -166,7 +166,7 @@ if [ ! -z "$IS_SHA512SUM_CHECKED" ]; then
exit "$try_run_ret" exit "$try_run_ret"
fi fi
aptss install "$DEBPATH" -yf --reinstall dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yf --reinstall --allow-downgrades
unlock_file "$DEBPATH" unlock_file "$DEBPATH"