mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-23 09:20:20 +08:00
navigator is stop to update
This commit is contained in:
parent
ac17ea6ea6
commit
e808de858f
@ -213,14 +213,14 @@ pkcon refresh /dev/null 2>&1
|
||||
pkcon get-updates >/dev/null 2>&1
|
||||
pkcon update -y >/dev/null 2>&1
|
||||
|
||||
# update navigator
|
||||
if command -v apt > /dev/null;then
|
||||
sudo apt -y install --only-upgrade cockpit-navigator
|
||||
elif command -v dnf > /dev/null;then
|
||||
sudo dnf update -y cockpit-navigator
|
||||
elif command -v yum > /dev/null;then
|
||||
sudo yum update -y cockpit-navigator
|
||||
fi
|
||||
# update navigator(not update on official)
|
||||
# if command -v apt > /dev/null;then
|
||||
# sudo apt -y install --only-upgrade cockpit-navigator
|
||||
# elif command -v dnf > /dev/null;then
|
||||
# sudo dnf update -y cockpit-navigator
|
||||
# elif command -v yum > /dev/null;then
|
||||
# sudo yum update -y cockpit-navigator
|
||||
# fi
|
||||
|
||||
sudo systemctl restart cockpit.socket
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user