mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-25 09:00:26 +00:00
fix cockpit
This commit is contained in:
parent
09d134f2ce
commit
47ca7aafd9
1 changed files with 4 additions and 1 deletions
|
@ -321,7 +321,10 @@ Install_Cockpit(){
|
|||
export DEBIAN_FRONTEND=noninteractive
|
||||
sudo pkcon refresh > /dev/null
|
||||
sudo pkcon get-updates > /dev/null
|
||||
sudo pkcon install $cockpit_packages -y --allow-untrusted --allow-reinstall
|
||||
output=$(sudo pkcon install $cockpit_packages -y --allow-untrusted --allow-reinstall 2>&1)
|
||||
if echo "$output" | grep -q "offline"; then
|
||||
Upgrade_Cockpit
|
||||
fi
|
||||
Restart_Cockpit
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue