From 5430663bd05e4af1fd33ee2f99c25adffef318ea Mon Sep 17 00:00:00 2001
From: MB <michael.blaschek@univie.ac.at>
Date: Mon, 26 May 2025 16:46:31 +0200
Subject: [PATCH] Fix: Ensure inquirer script is downloaded correctly in
 waGetInquirer function

---
 setup.sh | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/setup.sh b/setup.sh
index accfb8d..ede6084 100755
--- a/setup.sh
+++ b/setup.sh
@@ -203,6 +203,7 @@ function waGetInquirer() {
         rm -f "$INQUIRER"
         # curl -o "$INQUIRER" "https://raw.githubusercontent.com/winapps-org/winapps/main/install/inquirer.sh"
         curl -o "$INQUIRER" "https://gitlab.phaidra.org/imgw/winapps/-/raw/eeb08b09ed9fda0ec85c51f616476ed10bc7a6c1/install/inquirer.sh"
+    fi
     # shellcheck source=/dev/null # Exclude this file from being checked by ShellCheck.
     source "$INQUIRER"
     if [ -d "$SYS_SOURCE_PATH" ]; then
@@ -212,8 +213,6 @@ function waGetInquirer() {
     else
         continue
     fi
-
-
 }
 
 # Name: 'waCheckInput'
-- 
GitLab