update appstore version

This commit is contained in:
qiaofeng1227 2023-07-31 17:55:17 +08:00
parent 78953f9e4b
commit a18084b086
2 changed files with 10 additions and 1 deletions

View file

@ -270,6 +270,15 @@ fi
UpdateCockpit(){
echo "Parpare to update Cockpit to latest ..."
pkcon refresh
pkcon search cockpit | grep -i cockpit
if [[ $(pkcon search cockpit | grep -i cockpit | wc -l) -gt 1 ]]; then
echo "存在Cockpit更新可用"
else
echo "Cockpit is latest, not need to update"
fi
pkcon refresh
pkcon get-updates
pkcon update -y

View file

@ -9,7 +9,7 @@
"PORTAINER": "0.0.1",
"NGINX": "0.0.1",
"MYAPPS": "0.0.1",
"APPSTORE": "0.0.1",
"APPSTORE": "0.0.3",
"SETTINGS": "0.0.1",
"LIBRARY": "0.5.2"
},