From 54b5252118cfced9e4c727eb86597e2c3a6a57e0 Mon Sep 17 00:00:00 2001
From: MB <michael.blaschek@univie.ac.at>
Date: Mon, 26 May 2025 23:30:50 +0200
Subject: [PATCH] Refactor: Simplify waGetInquirer function by removing
 redundant directory checks

---
 setup.sh | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/setup.sh b/setup.sh
index ede6084..bad81d9 100755
--- a/setup.sh
+++ b/setup.sh
@@ -206,13 +206,6 @@ function waGetInquirer() {
     fi
     # shellcheck source=/dev/null # Exclude this file from being checked by ShellCheck.
     source "$INQUIRER"
-    if [ -d "$SYS_SOURCE_PATH" ]; then
-        source "$SYS_SOURCE_PATH/$INQUIRER"
-    elif [ -d "$USER_SOURCE_PATH" ]; then
-        source "$USER_SOURCE_PATH/$INQUIRER"
-    else
-        continue
-    fi
 }
 
 # Name: 'waCheckInput'
-- 
GitLab