summaryrefslogtreecommitdiff
path: root/games/falconseye/files/patch-sys_unix_nethack_sh
blob: 59e0832ec21c6673fdeecc68f3507f5a297572a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- sys/unix/nethack.sh.orig	Sun Jun 24 18:57:24 2001
+++ sys/unix/nethack.sh	Thu Jul  5 16:22:17 2001
@@ -6,6 +6,16 @@ export HACKDIR
 HACK=$HACKDIR/nethack
 MAXNROFPLAYERS=4
 
+# Handle extra config setup
+: ${FALCONCONFIG:=${HOME}/.falcon}
+if [ -d ${FALCONCONFIG} ]; then
+	:
+else
+    mkdir -p ${FALCONCONFIG}
+    cp ${HACKDIR}/config/* ${FALCONCONFIG}
+fi
+export FALCONCONFIG
+
 # see if we can find the full path name of PAGER, so help files work properly
 # assume that if someone sets up a special variable (HACKPAGER) for NetHack,
 # it will already be in a form acceptable to NetHack