-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
... it's very likely I am dumb ... 🤫
disclaimer
I totally feel no entitlement or expectation to anyone's time or energy, here ...
I am posting this because I'm ... well ... I'm clueless!
I totally feel no entitlement or expectation to anyone's time or energy, here ...
I am posting this because I'm ... well ... I'm clueless!
When Installing Via Script It Fails
OK, so, I execute the following to install to a specific folder in Debian 12 (gnome wayland) on the bash terminal:
sh ./scripts/install-ut2004.sh --destination=~/Games/OldUnreal/UT2004When I do it errors with:
./scripts/install-ut2004.sh: 34: Syntax error: "(" unexpected (expecting "}")I am assuming that I am the person that made the mistake, here ... sooooooo ... what have I fudged? 😅
PS - Sudo makes no odds ... tap here for all other attempts that resulted in the same error 🙁
sudo sh ./scripts/install-ut2004.sh --destination=~/Games/OldUnreal/UT2004sh ./scripts/install-ut2004.sh --destination='~/Games/OldUnreal/UT2004'sh ./scripts/install-ut2004.sh -d '~/Games/OldUnreal/UT2004'sh ./scripts/install-ut2004.sh -d ~/Games/OldUnreal/UT2004Potential Area Of Interest? uimode
I opened the script and (whilst I truly do not really know my way around bash/scripts) line 34 is the first line inside the uimode section starting at line 33:
uimode() {
local _allowed=("auto" "kdialog" "zenity" "none") _seeking="$1"
for element in "${_allowed[@]}"; do
test "$element" = "$_seeking" && echo "$element" && return 0
done
die "Value '$_seeking' (of argument '$2') doesn't match the list of allowed values: 'auto', 'kdialog', 'zenity' and 'none'" 4
}But ... I don't really see what the issue is, there ... 🤷
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels