[Pkg-nethack-devel] nethack/debian/gnome nethack-tty.sh,1.1,1.2 nethack.sh,1.1,1.2

Joshua Kwan joshk-guest@quantz.debian.org
Mon, 17 Nov 2003 02:59:21 +0000


Update of /cvsroot/pkg-nethack/nethack/debian/gnome
In directory quantz:/tmp/cvs-serv3554/gnome

Modified Files:
	nethack-tty.sh nethack.sh 
Log Message:
18_windowtype_argv.dpatch allows windowtype overriding. Let's make use of it!
Needs testing.


Index: nethack.sh
===================================================================
RCS file: /cvsroot/pkg-nethack/nethack/debian/gnome/nethack.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- nethack.sh	7 Oct 2003 23:35:08 -0000	1.1
+++ nethack.sh	17 Nov 2003 02:59:19 -0000	1.2
@@ -8,6 +8,9 @@
   if [ -e $HOME/.nethackrc.$HACKSTYLE ]; then
     NETHACKOPTIONS=$HOME/.nethackrc.$HACKSTYLE
     export NETHACKOPTIONS
+  elif [ -e $HOME/.nethackrc ]; then
+    NETHACKOPTIONS=$HOME/.nethackrc
+    export NETHACKOPTIONS
   else
     NETHACKOPTIONS=/etc/nethack/nethackrc.$HACKSTYLE
     export NETHACKOPTIONS
@@ -19,4 +22,4 @@
 HACK=$HACKDIR/nethack-$HACKSTYLE
 
 cd $HACKDIR
-exec $HACK "$@"
+exec $HACK "$@" -g$HACKSTYLE

Index: nethack-tty.sh
===================================================================
RCS file: /cvsroot/pkg-nethack/nethack/debian/gnome/nethack-tty.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- nethack-tty.sh	7 Oct 2003 23:35:08 -0000	1.1
+++ nethack-tty.sh	17 Nov 2003 02:59:19 -0000	1.2
@@ -60,4 +60,4 @@
 fi
 
 cd $HACKDIR
-exec $HACK "$@"
+exec $HACK "$@" -gtty