From f63f4af345a2f132cb81ca3ec4754278c35c83c2 Mon Sep 17 00:00:00 2001 From: Martin Blapp Date: Sat, 29 Mar 2003 07:47:10 +0000 Subject: Only do the workaround if a user-install exists. --- editors/openoffice.org-3-RC/files/openoffice-wrapper | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'editors/openoffice.org-3-RC') diff --git a/editors/openoffice.org-3-RC/files/openoffice-wrapper b/editors/openoffice.org-3-RC/files/openoffice-wrapper index b05070d48bff..a65c0ecf5776 100644 --- a/editors/openoffice.org-3-RC/files/openoffice-wrapper +++ b/editors/openoffice.org-3-RC/files/openoffice-wrapper @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3-RC/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3-RC/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 -- cgit v1.2.3