mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 07:30:24 +00:00
fix
This commit is contained in:
parent
a4e3a9d0f3
commit
a6f3e1df96
1 changed files with 5 additions and 1 deletions
|
@ -301,7 +301,11 @@ Upgrade_Cockpit(){
|
|||
sudo dpkg --configure -a
|
||||
apt update -y
|
||||
apt --fix-broken install
|
||||
apt install -u $cockpit_packages -y
|
||||
for pkg in $cockpit_packages
|
||||
do
|
||||
echo "Installing $pkg"
|
||||
sudo apt install -u -y "$pkg" || echo "$pkg failed to install"
|
||||
done
|
||||
else
|
||||
sudo pkcon refresh > /dev/null
|
||||
sudo pkcon get-updates > /dev/null
|
||||
|
|
Loading…
Reference in a new issue