From 73013b36d0e09f5df0ce17f498f70b3038fac179 Mon Sep 17 00:00:00 2001 From: Menno van Leeuwen Date: Fri, 8 Nov 2024 14:02:29 +0100 Subject: [PATCH] fixes syntax error --- setup.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index 23b0466..f1eaadd 100755 --- a/setup.sh +++ b/setup.sh @@ -62,8 +62,13 @@ create_hardware_config() { read type done - isWorkstation=$(if [ $type == "w" ]; then echo "true"; else echo "false"; fi) - isServer=$(if [ $type == "s" ]; then echo "true"; else echo "false" fi) + if [ $type == "s" ]; then + isServer="true" + isWorkstation="false" + else + isServer="false" + isWorkstation="true" + fi flakeConfiguration="