summaryrefslogtreecommitdiff
path: root/wm/afterstep1/patches/patch-aa
blob: e8c9e5d7c547b78bfa963c5bb94d0e730fa80816 (plain)
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
27
$NetBSD: patch-aa,v 1.1.1.1 2005/01/14 13:36:35 jmmv Exp $

--- doc/afterstepdoc.in.orig	Mon Jan 10 19:37:03 2000
+++ doc/afterstepdoc.in	Thu Jan 25 12:49:48 2001
@@ -9,18 +9,15 @@
 # First try standard path, then local, then other possible paths
 #
 
-for netscape in /usr/X11R6/bin/netscape /usr/bin/netscape \
-       /usr/local/bin/netscape /usr/local/netscape/netscape \
-       /opt/netscape/netscape /opt/bin/netscape ; do
+for netscape in @bindir@/netscape @bindir@/mozilla \
+       /usr/local/bin/netscape /usr/local/netscape/bin/netscape ; do
    if [ -x $netscape ] ; then
-     $netscape -remote \
-      openurl\(file:///@datadir@/afterstep/doc/afterstep.html\) 2>/dev/null \
-      || $netscape @datadir@/afterstep/doc/afterstep.html &
+       $netscape @datadir@/afterstep/doc/afterstep.html &
                exit
    fi
 done
 
-for lynx in /usr/bin/lynx /bin/lynx /usr/local/bin/lynx ; do
+for lynx in @bindir@/lynx /usr/local/bin/lynx ; do
     if [ -x $lynx ] ; then
        exec xterm -bg black -fg white -sl 500 -vb -e $lynx @datadir@/afterstep/doc/afterstep.html &
     fi