navigator is stop to update
This commit is contained in:
parent
ac17ea6ea6
commit
e808de858f
1 changed files with 8 additions and 8 deletions
|
@ -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…
Add table
Reference in a new issue