Update path check for yadoom.
This commit is contained in:
parent
22b97be40a
commit
ee0e72fe6d
@ -43,8 +43,8 @@ export gamePath=~/.local/games/doom
|
||||
export doomPath="$(find /usr/share -type d -name "doom" 2> /dev/null | head -1)"
|
||||
|
||||
# Path to gzdoom or yadoom.
|
||||
if [[ -x "yadoom" ]]; then
|
||||
export gzdoom=$(readlink -f "yadoom")
|
||||
if [[ -x "${BASH_SOURCE[0]%/*}/yadoom" ]]; then
|
||||
export gzdoom=$"${BASH_SOURCE[0]%/*}/yadoom"
|
||||
else
|
||||
export gzdoom="$(command -v gzdoom)"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user