mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-23 09:20:20 +08:00
update
This commit is contained in:
parent
a82e5f8739
commit
78953f9e4b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user