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