mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-23 09:20:20 +08:00
fix
This commit is contained in:
parent
a4e3a9d0f3
commit
a6f3e1df96
@ -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 New Issue
Block a user