修改: debian/spark-store.prerm

修改:     tool/update-upgrade/ss-update-notify-placer.sh
This commit is contained in:
2022-04-11 09:40:28 +08:00
parent 6d38c0bf70
commit 0bfa7c9136
2 changed files with 8 additions and 0 deletions

View File

@@ -39,6 +39,9 @@ fi
updatetext=`sudo apt update -o Dir::Etc::sourcelist="sources.list.d/sparkstore.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"`
mkdir -p /tmp/spark-store-updatenum/
isupdate=`echo ${updatetext: -5}`
if [ "$isupdate" = "date." ];then
sudo echo "0" > /tmp/spark-store-updatenum/number