From e74ff7974b35bd83d9f7a15b85f6c9ae0a62d491 Mon Sep 17 00:00:00 2001 From: Yuri Kuit Date: Mon, 6 Jul 2026 20:56:40 +0200 Subject: [PATCH] v3-revamp-fedora --- fedora/fedora-full.sh | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/fedora/fedora-full.sh b/fedora/fedora-full.sh index cf02eca..adc240d 100755 --- a/fedora/fedora-full.sh +++ b/fedora/fedora-full.sh @@ -48,11 +48,22 @@ else fi echo "Running installer..." -cd "$REPO_DIR" | ./install.sh { - echo "Error: Failed to enter $REPO_DIR" >&2 + +# Move into the directory safely and execute the installer directly as an executable sub-process +cd "$REPO_DIR" || { + color_red "Error: Failed to enter $REPO_DIR" exit 1 } +# Make sure it's executable and run it cleanly +chmod +x install.sh +./install.sh || { + color_red "Error: SDDM theme installer encountered an issue." + exit 1 +} + +color_green "SDDM theme installer completed successfully!" + pause_if_debug # Ensure NetworkManager manages all interfaces