mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-09-04 02:12:21 +08:00
!108 在检测更新时临时降低优先级到100,防止系统中有且版本一致的包被反复来回更新
* changelog更新 * 修复界面中显示的更新检测服务是否启动不正确 * 在检测更新时临时降低优先级到100,防止系统中有且版本一致的包被反复来回更新
This commit is contained in:
parent
932e754b88
commit
d3987a20ec
14
debian/changelog
vendored
14
debian/changelog
vendored
@ -1,11 +1,13 @@
|
||||
spark-store (3.2) stable; urgency=medium
|
||||
|
||||
* 新增下载量统计功能
|
||||
* 显示下载量
|
||||
* 修复spk链接生成错误
|
||||
* 启动时检测商店applist源
|
||||
* 默认启用cdn加速
|
||||
* ssupdate不再更新/etc/aptss下的cache,如要如此,请使用aptss update
|
||||
* 新增 下载量统计功能
|
||||
* 新增 显示下载量
|
||||
* 修复 spk链接生成错误
|
||||
* 调整 启动时检测商店applist源
|
||||
* 新增 applist cdn加速
|
||||
* 调整 ssupdate不再更新/etc/aptss下的cache,如要如此,请使用aptss update
|
||||
* 修复 在更新检测设置中的是否开启自动更新检测设置项的显示不随开启或关闭状态改变
|
||||
* 修复 在检测更新时临时降低优先级到100,防止系统中有且版本一致的包被反复来回更新
|
||||
|
||||
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||
|
||||
|
@ -7,7 +7,7 @@ endloop=0
|
||||
#####################检测是否启动过了更新检测工具
|
||||
while [ $endloop -eq 0 ] ;do
|
||||
|
||||
if [ -f /etc/xdg/autostart/spark-update-notifier.desktop ];then
|
||||
if [ -e /etc/systemd/system/multi-user.target.wants/spark-update-notifier.service ];then
|
||||
text_update_open="关闭"
|
||||
#已经开启了就显示关闭
|
||||
else
|
||||
|
@ -48,11 +48,18 @@ fi
|
||||
|
||||
curl --progress-bar -o /opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list "https://gitee.com/deepin-community-store/repo_auto_update_script/raw/master/mirror-list-for-apt-fast/sources.list.d/sparkstore.list"
|
||||
# 每日更新星火源文件
|
||||
mkdir -p /etc/apt/preferences.d
|
||||
touch /etc/apt/preferences.d/sparkstore
|
||||
cat << EOF >/etc/apt/preferences.d/sparkstore
|
||||
Package: *
|
||||
Pin: origin *.deepinos.org.cn
|
||||
Pin-Priority: 100
|
||||
|
||||
EOF
|
||||
|
||||
updatetext=`aptss ssupdate`
|
||||
|
||||
|
||||
mkdir -p /tmp/spark-store-updatenum/
|
||||
rm /etc/apt/preferences.d/sparkstore
|
||||
|
||||
|
||||
isupdate=`echo ${updatetext: -5}`
|
||||
|
Loading…
x
Reference in New Issue
Block a user