diff options
author | r4v3n6101 | 2021-03-03 02:04:27 +0300 |
---|---|---|
committer | r4v3n6101 | 2021-03-03 02:04:27 +0300 |
commit | 1405958e87128f40675c3779c0bab7f76418e1ac (patch) | |
tree | 17f3d74b95db83eab08f3801923066be6a2ae0db /xash3d | |
parent | 69c165cf1c579b30b49590bebf63f38bf317d5f3 (diff) | |
download | aur-1405958e87128f40675c3779c0bab7f76418e1ac.tar.gz |
Remove .conf
Diffstat (limited to 'xash3d')
-rw-r--r-- | xash3d | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,8 +1,10 @@ #!/bin/sh -. /etc/conf.d/xash3d -if [ ! -d "$XASH3D_GAMEDIR" ]; then - echo "$XASH3D_GAMEDIR not found" +export LD_LIBRARY_PATH+="/usr/local/lib/xash3d/" +export XASH3D_BASEDIR="$HOME/.xash3d" + +if [ ! -d "$XASH3D_BASEDIR" ]; then + echo "$XASH3D_BASEDIR not found. Create a new one and put gamefiles into it (e.g. $XASH3D_BASEDIR/valve/)" exit 1 fi |