最后还是简单的等10s会比较容易

This commit is contained in:
shenmo 2022-12-27 01:15:07 +08:00
parent 347f6e918f
commit ee6d6f145f

@ -47,6 +47,8 @@ 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"
sleep 10
updatetext=`aptss ssupdate`
isupdate=`echo ${updatetext: -5}`
if [ "$isupdate" = "date." ] ; then