Feat: Aktualisiert das git-Repo.

This commit is contained in:
DragonSlayer_14 2025-03-03 23:53:08 +01:00
parent a63d0bb728
commit db61a1c377

View File

@ -11,6 +11,9 @@ if [[ $EUID -ne 0 ]]; then
exit 1
fi
# === Variablen ===
USER="$SUDO_USER"
# === Skript-Funktionen ===
cleanup() {
log "Update-Skript abgebrochen"
@ -46,6 +49,8 @@ trap cleanup SIGINT
wait_for_internet_connection
sudo -u $USER git pull |& while IFS= read -r line; do log "$line"; done
update_packages
update_flatpak