This commit is contained in:
Darren 2023-10-13 09:08:57 +08:00 committed by GitHub
parent a4e3a9d0f3
commit a6f3e1df96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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