summaryrefslogtreecommitdiff
path: root/www/communicator
diff options
context:
space:
mode:
authorkei <kei@pkgsrc.org>2001-03-29 14:03:11 +0000
committerkei <kei@pkgsrc.org>2001-03-29 14:03:11 +0000
commitadf497d2953685804ba518ace90a06875239db79 (patch)
treef375c594e5d7c052ed4ccb51685f1df10435deb5 /www/communicator
parent6d6c132ae888494c47726fb3841d6e3c31073194 (diff)
downloadpkgsrc-adf497d2953685804ba518ace90a06875239db79.tar.gz
* As per discussion with Emmanuel Dreyfus, install the package into /usr/pkg,
not /usr/pkg/emul/linux/usr on powerpc. This requires rpm2pkg-1.2. * Provide "communicator-4.73" wrapper shell script and "communicator" symbolic link to point it. Original "netscape" script still exists.
Diffstat (limited to 'www/communicator')
-rwxr-xr-xwww/communicator/files/communicator.sh.linux-powerpc22
1 files changed, 22 insertions, 0 deletions
diff --git a/www/communicator/files/communicator.sh.linux-powerpc b/www/communicator/files/communicator.sh.linux-powerpc
new file mode 100755
index 00000000000..2cc66971a60
--- /dev/null
+++ b/www/communicator/files/communicator.sh.linux-powerpc
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+# $NetBSD: communicator.sh.linux-powerpc,v 1.1 2001/03/29 14:03:11 kei Exp $
+
+PREFIX=@PREFIX@
+BINNAME=@BINNAME@
+
+if [ -z "$*" ]; then
+ HOMEPAGE=$HOME/public_html/index.html
+ if [ -f $HOME/.netscape/preferences.js ]; then
+ if grep "browser.startup.homepage" \
+ $HOME/.netscape/preferences.js > /dev/null; then
+ HOMEPAGE=""
+ fi
+ fi
+ exec $PREFIX/lib/netscape/netscape-$BINNAME $HOMEPAGE
+else
+ exec $PREFIX/lib/netscape/netscape-$BINNAME $*
+fi
+
+echo "An error occurred running and $PREFIX/lib/netscape/netscape-$BINNAME."
+exit 1