pkgsrc-wip/4stAttack/patches/patch-aa
Marc Recht a9190cb3bd Initial import of 4st Attack 2.1.4
4st Attack is a game in which you have to try to out-smart your opponent. The
goal of the game is to connect four of stones in a straight line. This can be
horizontaly, vertically and even diagonnally.
2003-07-13 13:44:41 +00:00

17 lines
472 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2003/07/13 13:44:41 marc Exp $
--- 4stattack.orig 2002-10-01 16:38:03.000000000 +0200
+++ 4stattack 2003-07-13 15:37:19.000000000 +0200
@@ -1,9 +1,10 @@
#!/bin/sh
-FAHOME=/usr/share/forcedattack2
+FAHOME=@FAHOME@
+
if [ ! -f ~/.4stattackrc ]; then
cp $FAHOME/settings.ini ~/.4stattackrc
fi
if [ -x $FAHOME/4stattack.py ]; then
- $FAHOME/4stattack.py -ini ~/.4stattackrc
+ ( cd $FAHOME && $FAHOME/4stattack.py -ini ~/.4stattackrc )
fi