From 660565a1c43255093b6313e49b8f5a9febb33ac3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C4=83rcziem=20=E2=84=A2?= <118485377+spalencsar@users.noreply.github.com> Date: Fri, 3 Oct 2025 08:53:27 +0200 Subject: [PATCH] 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 --- lib/unattended-upgrades.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/unattended-upgrades.sh b/lib/unattended-upgrades.sh index 531f06d..df52609 100644 --- a/lib/unattended-upgrades.sh +++ b/lib/unattended-upgrades.sh @@ -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 \ No newline at end of file +fi \ No newline at end of file