summaryrefslogtreecommitdiff
path: root/www/communicator/files
diff options
context:
space:
mode:
authorkei <kei>2001-03-29 14:03:11 +0000
committerkei <kei>2001-03-29 14:03:11 +0000
commitebfa359a8e98dc152a774afdc1ca9bb09a05e7c8 (patch)
treef375c594e5d7c052ed4ccb51685f1df10435deb5 /www/communicator/files
parent2b2a03bbd66199d5d3f4701e5acf07e1708ef9a7 (diff)
downloadpkgsrc-ebfa359a8e98dc152a774afdc1ca9bb09a05e7c8.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/files')
-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