diff --git a/linux-game-manager.sh b/linux-game-manager.sh index 02e07ff..3d90cf5 100755 --- a/linux-game-manager.sh +++ b/linux-game-manager.sh @@ -529,7 +529,7 @@ case "${game}" in exit 0 fi fi - doomPath="$(find /usr/share -type d -name "doom" 2> /dev/null)" + doomPath="$(find /usr/share -type d -name "doom" 2> /dev/null | head -1)" download "https://www.dropbox.com/s/rsswh6m8hhjwp7g/Toby%20Acc%20Mod%20V5-1%20Update%20Fix.zip?dl=0" "https://www.dropbox.com/s/zzi4x9y6rg9yvja/TobyDoom2Deluxe_LevelsOnly.zip?dl=0" if [[ ! -e "${doomPath}/TobyDeluxeMapPack_V5-1.pk3" ]]; then if sudo unzip -d "${doomPath}" "${cache}/Toby Acc Mod V5-1 Update Fix.zip" ; then