This commit is contained in:
joaquin 2024-11-27 22:09:55 +01:00
parent 367fd2b164
commit f343682a08

View File

@ -20,17 +20,17 @@ update_server() {
echo "Starte Update und Upgrade auf $HOSTNAME..."
# Update der Paketliste
sudo apt update -y
apt update -y
# Upgrade der Pakete
sudo apt upgrade -y
apt upgrade -y
# Distribution-Upgrade
sudo apt dist-upgrade -y
apt dist-upgrade -y
# Bereinigung
sudo apt autoremove -y
sudo apt autoclean -y
apt autoremove -y
apt autoclean -y
echo "Update, Upgrade und Bereinigung abgeschlossen auf $HOSTNAME"
EOF