This commit is contained in:
qiaofeng1227 2023-07-31 15:25:58 +08:00
parent a82e5f8739
commit 78953f9e4b

View File

@ -270,10 +270,10 @@ fi
UpdateCockpit(){ UpdateCockpit(){
echo "Parpare to update Cockpit to latest ..." echo "Parpare to update Cockpit to latest ..."
pkcon refresh /dev/null 2>&1 pkcon refresh
pkcon get-updates >/dev/null 2>&1 pkcon get-updates
pkcon update -y >/dev/null 2>&1 pkcon update -y
echo "cockpit update finished."
# update navigator(not update on official) # update navigator(not update on official)
# if command -v apt > /dev/null;then # if command -v apt > /dev/null;then
# sudo apt -y install --only-upgrade cockpit-navigator # sudo apt -y install --only-upgrade cockpit-navigator