summaryrefslogtreecommitdiff
path: root/misc/staroffice/files/soffice
diff options
context:
space:
mode:
Diffstat (limited to 'misc/staroffice/files/soffice')
-rwxr-xr-xmisc/staroffice/files/soffice36
1 files changed, 0 insertions, 36 deletions
diff --git a/misc/staroffice/files/soffice b/misc/staroffice/files/soffice
deleted file mode 100755
index a533102cd54..00000000000
--- a/misc/staroffice/files/soffice
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/sh
-#
-# $NetBSD: soffice,v 1.2 2000/03/15 07:00:52 rh Exp $
-#
-SOINST=@@PREFIX@@/Office51
-[ "$SOFFICE" = "" ] && SOFFICE=$HOME/Office51
-
-if [ "`/sbin/mount | grep 'on /proc' | cut -d ' ' -f 5`" != "procfs" ]; then
- echo "-----------------------------------------------------------------"
- echo "StarOffice needs procfs to be mounted on /proc in order to work. "
- echo "-----------------------------------------------------------------"
- exit 1
-fi
-
-if [ ! -d "$SOFFICE" ]; then
- echo ""
- echo "-----------------------------------------------------------------"
- echo " StarOffice has not yet been set up for `whoami`."
- echo " Starting setup ... "
- echo ""
- echo " (If StarOffice has already been set up for `whoami` or you"
- echo " want to install it someplace other than $SOFFICE"
- echo " please abort the installation procedure now, set the \$SOFFICE "
- echo " environment variable accordingly and rerun $0.)"
- echo "-----------------------------------------------------------------"
- echo ""
-
- @@PREFIX@@/bin/sosetup
-
- echo ""
- echo "Done. Starting StarOffice ..."
- echo ""
-fi
-
-export LD_LIBRARY_PATH=@@PREFIX@@/Office51:@@PREFIX@@/Office51/lib:${SOFFICE}:${SOFFICE}/lib
-exec ${SOINST}/bin/soffice $*