diff options
author | vs <vs@FreeBSD.org> | 2004-07-09 15:29:31 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2004-07-09 15:29:31 +0800 |
commit | d8756b8ef37916830098484d8e9fc3e04ad2c05a (patch) | |
tree | 0e497f8a5007bb0f58f443a1c02c7ffcdc1ea369 /games | |
parent | 9633002445879aef572a81714523374668941226 (diff) | |
download | freebsd-ports-gnome-d8756b8ef37916830098484d8e9fc3e04ad2c05a.tar.gz freebsd-ports-gnome-d8756b8ef37916830098484d8e9fc3e04ad2c05a.tar.zst freebsd-ports-gnome-d8756b8ef37916830098484d8e9fc3e04ad2c05a.zip |
Fix wrapper-script
PR: ports/68836
Submitted by: Travis Poppe (maintainer)
Diffstat (limited to 'games')
-rw-r--r-- | games/wargus/files/wargus.in | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/games/wargus/files/wargus.in b/games/wargus/files/wargus.in index b7bcaeb913d1..287050df82c9 100644 --- a/games/wargus/files/wargus.in +++ b/games/wargus/files/wargus.in @@ -6,7 +6,6 @@ # # 2004 Travis Poppe <tlp@LiquidX.org> -USERDIR=$HOME/.wargus DATADIR=%%PREFIX%%/share/wargus/data.wc2 if [ ! -d $DATADIR ]; then @@ -39,28 +38,14 @@ if [ ! -d $DATADIR ]; then echo "user you intend to play the game with." echo "" echo "For more information, please visit: http://wargus.sourceforge.net" -fi - -if [ -d $USERDIR ]; then - echo "Warcraft2 data appears to be installed/linked to $USERDIR/" - echo "" - echo "Attempting to run Stratagus with Warcraft2 data" - echo "" - cd $USERDIR - stratagus -d $USERDIR/data $* exit fi if [ -d $DATADIR ]; then - mkdir $USERDIR - mkdir $USERDIR/data - ln -s %%PREFIX%%/share/wargus/data.wc2/* $USERDIR/data - - echo "Installed/linked Warcraft2 data to $USERDIR/" + echo "Warcraft2 data found in $DATADIR/" echo "" echo "Attempting to run Stratagus with Warcraft2 data" echo "" - cd $USERDIR - stratagus -d $USERDIR/data $* + stratagus -d $DATADIR $* exit fi |