File: 03-startupfile-fix.dpatch

package info (click to toggle)
glhack 1.2-1
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 24,604 kB
  • ctags: 18,992
  • sloc: ansic: 208,570; cpp: 13,139; yacc: 2,005; makefile: 1,161; lex: 377; sh: 321; awk: 89; sed: 11
file content (26 lines) | stat: -rw-r--r-- 825 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#! /bin/sh /usr/share/dpatch/dpatch-run
## 03-startupfile-fix.dpatch by Stefan Ritter <xeno@thehappy.de>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: The old script was weird

@DPATCH@
diff -urNad glhack-1.2~/win/gl/glhack.sh glhack-1.2/win/gl/glhack.sh
--- glhack-1.2~/win/gl/glhack.sh	2002-01-11 14:10:31.000000000 +0100
+++ glhack-1.2/win/gl/glhack.sh	2009-07-23 21:16:46.000000000 +0200
@@ -1,14 +1,3 @@
 #!/bin/sh
-#	SCCS Id: @(#)nethack.sh	3.3	90/02/26
 
-HACKDIR=/usr/games/lib/nethackdir
-export HACKDIR
-HACK=$HACKDIR/nethack
-
-# -AJA- removed HACKPAGER stuff, unused in glHack.
-# 
-# Note: the above HACKDIR directory gets modified to the actual
-#       directory by the top-level Makefile during installation.
-
-cd $HACKDIR
-exec $HACK "$@"
+exec /usr/lib/games/glhack/glhack