update appstore version
This commit is contained in:
parent
78953f9e4b
commit
a18084b086
2 changed files with 10 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue