summaryrefslogtreecommitdiff
path: root/www/netscape/files
diff options
context:
space:
mode:
authorabs <abs>2002-09-20 17:00:41 +0000
committerabs <abs>2002-09-20 17:00:41 +0000
commit07e9e2ca1d490158e2c1c2f822752599452ea5d9 (patch)
tree1942cebc6dc0137ad5e8d7d4ca3eb48135dbb374 /www/netscape/files
parent95d2981ad26c528923cc0619518bfaec29e49e39 (diff)
downloadpkgsrc-07e9e2ca1d490158e2c1c2f822752599452ea5d9.tar.gz
Handle netscape7, and used sed rather than what would need to be four
versions of the startup script. The versioning here depends on the navigator package and is difficult to fix cleanly...
Diffstat (limited to 'www/netscape/files')
-rw-r--r--www/netscape/files/netscape (renamed from www/netscape/files/netscape_mozilla)4
-rw-r--r--www/netscape/files/netscape_navigator9
2 files changed, 2 insertions, 11 deletions
diff --git a/www/netscape/files/netscape_mozilla b/www/netscape/files/netscape
index 5d8ce18a066..3f495dea32c 100644
--- a/www/netscape/files/netscape_mozilla
+++ b/www/netscape/files/netscape
@@ -1,9 +1,9 @@
#!/bin/sh
-# $NetBSD: netscape_mozilla,v 1.2 2002/03/11 10:18:25 abs Exp $
+# $NetBSD: netscape,v 1.1 2002/09/20 17:00:41 abs Exp $
# Simple script used if NS_MOZILLA is set when netscape installed
if [ -z "$NETSCAPE_PREFERRED" ]; then
- NETSCAPE_PREFERRED=mozilla:navigator:communicator
+ export NETSCAPE_PREFERRED=@NETSCAPE_PREFERRED@
fi
exec ns-open "$@"
diff --git a/www/netscape/files/netscape_navigator b/www/netscape/files/netscape_navigator
deleted file mode 100644
index a3eef5d7a87..00000000000
--- a/www/netscape/files/netscape_navigator
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-# $NetBSD: netscape_navigator,v 1.3 2002/03/11 10:18:25 abs Exp $
-
-# Simple script used if NS_NAVIGATOR is set when netscape installed
-
-if [ -z "$NETSCAPE_PREFERRED" ]; then
- NETSCAPE_PREFERRED=navigator:communicator:mozilla
-fi
-exec ns-open "$@"