diff --git a/scripts/install-gothic.sh b/scripts/install-gothic.sh index 4905f58..4e5a432 100755 --- a/scripts/install-gothic.sh +++ b/scripts/install-gothic.sh @@ -5,7 +5,7 @@ # * It *must not* have any symlinks for the directmusic dlls like: # pfx/dosdevices/c:/windows/syswow64/dmusic.dll -STEAMAPPS=/var/games/steamapps/ +STEAMAPPS=$XDG_DATA_HOME/Steam/steamapps/ read -p "Make sure that gothic was installed via Steam and started once! to continue, to abort " diff --git a/scripts/install-gothic2.sh b/scripts/install-gothic2.sh index 4fcc8a7..f094108 100755 --- a/scripts/install-gothic2.sh +++ b/scripts/install-gothic2.sh @@ -9,8 +9,7 @@ set -o nounset set -o xtrace set -o errexit - -STEAMAPPS=/var/games/steamapps/ +STEAMAPPS=$XDG_DATA_HOME/Steam/steamapps/ BASEDIR="${STEAMAPPS}/common/Gothic II"