fix: Remove direct execution from unattended-upgrades.sh

- Remove configure_unattended_upgrades call at end of file
- Script is now library-only, called from setup.sh where DISTRO is set
- Prevents 'DISTRO: unbound variable' error when run standalone
This commit is contained in:
Mărcziem ™
2025-10-03 08:53:27 +02:00
parent b0340adf03
commit 660565a1c4

View File

@@ -89,7 +89,4 @@ if ! command -v log_info &>/dev/null; then
log_info() { echo "[INFO] $1"; }
log_success() { echo "[SUCCESS] $1"; }
log_error() { echo "[ERROR] $1" >&2; }
fi
# Main execution
configure_unattended_upgrades
fi