aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice.org-3-devel
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2003-03-29 15:47:10 +0800
committermbr <mbr@FreeBSD.org>2003-03-29 15:47:10 +0800
commita9d5825667f6c7428d39e4ff199a8e36db499bcb (patch)
tree4dd01834faf9f1cad38641318bf5571840af563e /editors/openoffice.org-3-devel
parent11696a319c9e88d1e4f1bc05b21f0ffa18c62e29 (diff)
downloadfreebsd-ports-gnome-a9d5825667f6c7428d39e4ff199a8e36db499bcb.tar.gz
freebsd-ports-gnome-a9d5825667f6c7428d39e4ff199a8e36db499bcb.tar.zst
freebsd-ports-gnome-a9d5825667f6c7428d39e4ff199a8e36db499bcb.zip
Only do the workaround if a user-install exists.
Diffstat (limited to 'editors/openoffice.org-3-devel')
-rw-r--r--editors/openoffice.org-3-devel/files/openoffice-wrapper8
1 files changed, 5 insertions, 3 deletions
diff --git a/editors/openoffice.org-3-devel/files/openoffice-wrapper b/editors/openoffice.org-3-devel/files/openoffice-wrapper
index 4f27efa5bc95..da65230f4707 100644
--- a/editors/openoffice.org-3-devel/files/openoffice-wrapper
+++ b/editors/openoffice.org-3-devel/files/openoffice-wrapper
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3-devel/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $
+# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3-devel/files/Attic/openoffice-wrapper,v 1.5 2003-03-29 07:47:10 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'`
@@ -9,8 +9,10 @@ if [ ! $LANG ]; then
export LANG=%%LANG%%
fi
-if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then
- touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg
+if [ -e $HOME/OpenOffice.org1.1Beta/setup.log ]; then
+ if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then
+ touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg
+ fi
fi
case $program in