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(){
echo "Parpare to update Cockpit to latest ..."
pkcon refresh /dev/null 2>&1
pkcon get-updates >/dev/null 2>&1
pkcon update -y >/dev/null 2>&1
pkcon refresh
pkcon get-updates
pkcon update -y
echo "cockpit update finished."
# update navigator(not update on official)
# if command -v apt > /dev/null;then
# sudo apt -y install --only-upgrade cockpit-navigator