1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## xterm.dpatch by Francesco Paolo Lovergine <frankie@debian.org>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: prefer to let alternatives chose the xterm used
8
diff -urNad grass-preview-6.3.0~/lib/init/grass-xterm-wrapper grass-preview-6.3.0/lib/init/grass-xterm-wrapper
9
--- grass-preview-6.3.0~/lib/init/grass-xterm-wrapper 2008-04-12 01:26:58.000000000 +0200
10
+++ grass-preview-6.3.0/lib/init/grass-xterm-wrapper 2008-04-21 14:09:45.000000000 +0200
13
if [ -z "$GRASS_XTERM" ] ; then
14
# find a working xterm or xterm compatible executable
15
- TERM_TRY="xterm rxvt x-terminal-emulator"
16
+ TERM_TRY="x-terminal-emulator rxvt xterm"
17
for TERM_PROG in $TERM_TRY ; do
18
if [ -x "`which $TERM_PROG`" ] ; then
19
GRASS_XTERM="$TERM_PROG"