From f63f4af345a2f132cb81ca3ec4754278c35c83c2 Mon Sep 17 00:00:00 2001 From: Martin Blapp Date: Sat, 29 Mar 2003 07:47:10 +0000 Subject: [PATCH] Only do the workaround if a user-install exists. --- editors/openoffice-1.1-devel/files/openoffice-wrapper | 8 +++++--- editors/openoffice-1.1/files/openoffice-wrapper | 8 +++++--- editors/openoffice-2.0-devel/files/openoffice-wrapper | 8 +++++--- editors/openoffice-3-devel/files/openoffice-wrapper | 6 ++++-- editors/openoffice-3/files/openoffice-wrapper | 8 +++++--- editors/openoffice-devel/files/openoffice-wrapper | 8 +++++--- editors/openoffice.org-1.1-devel/files/openoffice-wrapper | 8 +++++--- editors/openoffice.org-1.1/files/openoffice-wrapper | 8 +++++--- editors/openoffice.org-2-RC/files/openoffice-wrapper | 8 +++++--- editors/openoffice.org-2-devel/files/openoffice-wrapper | 8 +++++--- editors/openoffice.org-2.0-devel/files/openoffice-wrapper | 8 +++++--- editors/openoffice.org-2.0/files/openoffice-wrapper | 8 +++++--- editors/openoffice.org-2/files/openoffice-wrapper | 8 +++++--- editors/openoffice.org-3-RC/files/openoffice-wrapper | 8 +++++--- editors/openoffice.org-3-devel/files/openoffice-wrapper | 8 +++++--- editors/openoffice.org-3/files/openoffice-wrapper | 8 +++++--- .../openoffice.org-vcltesttool/files/openoffice-wrapper | 8 +++++--- 17 files changed, 84 insertions(+), 50 deletions(-) diff --git a/editors/openoffice-1.1-devel/files/openoffice-wrapper b/editors/openoffice-1.1-devel/files/openoffice-wrapper index 85c541dfa8a8..34d617b33e99 100644 --- a/editors/openoffice-1.1-devel/files/openoffice-wrapper +++ b/editors/openoffice-1.1-devel/files/openoffice-wrapper @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.1-devel/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.1-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 diff --git a/editors/openoffice-1.1/files/openoffice-wrapper b/editors/openoffice-1.1/files/openoffice-wrapper index de1bd6e7b5be..e1ef8ed79459 100644 --- a/editors/openoffice-1.1/files/openoffice-wrapper +++ b/editors/openoffice-1.1/files/openoffice-wrapper @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.1/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.1/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 diff --git a/editors/openoffice-2.0-devel/files/openoffice-wrapper b/editors/openoffice-2.0-devel/files/openoffice-wrapper index 19bf8b28dbde..e9b4ec0508ac 100644 --- a/editors/openoffice-2.0-devel/files/openoffice-wrapper +++ b/editors/openoffice-2.0-devel/files/openoffice-wrapper @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-2.0-devel/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-2.0-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 diff --git a/editors/openoffice-3-devel/files/openoffice-wrapper b/editors/openoffice-3-devel/files/openoffice-wrapper index d4f1f5c2e90a..9637078373bc 100644 --- a/editors/openoffice-3-devel/files/openoffice-wrapper +++ b/editors/openoffice-3-devel/files/openoffice-wrapper @@ -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 diff --git a/editors/openoffice-3/files/openoffice-wrapper b/editors/openoffice-3/files/openoffice-wrapper index 2fbc82c17e57..ed1b69a5065d 100644 --- a/editors/openoffice-3/files/openoffice-wrapper +++ b/editors/openoffice-3/files/openoffice-wrapper @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-3/files/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-3/files/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 diff --git a/editors/openoffice-devel/files/openoffice-wrapper b/editors/openoffice-devel/files/openoffice-wrapper index 2e005b566d8e..e074e4e68a81 100644 --- a/editors/openoffice-devel/files/openoffice-wrapper +++ b/editors/openoffice-devel/files/openoffice-wrapper @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-devel/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-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 diff --git a/editors/openoffice.org-1.1-devel/files/openoffice-wrapper b/editors/openoffice.org-1.1-devel/files/openoffice-wrapper index 7a1ba2e71b4b..b97b72289ca7 100644 --- a/editors/openoffice.org-1.1-devel/files/openoffice-wrapper +++ b/editors/openoffice.org-1.1-devel/files/openoffice-wrapper @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-1.1-devel/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-1.1-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 diff --git a/editors/openoffice.org-1.1/files/openoffice-wrapper b/editors/openoffice.org-1.1/files/openoffice-wrapper index f2cb2d07b064..b20f18dec986 100644 --- a/editors/openoffice.org-1.1/files/openoffice-wrapper +++ b/editors/openoffice.org-1.1/files/openoffice-wrapper @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-1.1/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-1.1/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 diff --git a/editors/openoffice.org-2-RC/files/openoffice-wrapper b/editors/openoffice.org-2-RC/files/openoffice-wrapper index 765852adc986..51c8a4aa9c73 100644 --- a/editors/openoffice.org-2-RC/files/openoffice-wrapper +++ b/editors/openoffice.org-2-RC/files/openoffice-wrapper @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2-RC/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2-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 diff --git a/editors/openoffice.org-2-devel/files/openoffice-wrapper b/editors/openoffice.org-2-devel/files/openoffice-wrapper index e24792b3178e..1fe0f5e3af02 100644 --- a/editors/openoffice.org-2-devel/files/openoffice-wrapper +++ b/editors/openoffice.org-2-devel/files/openoffice-wrapper @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2-devel/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2-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 diff --git a/editors/openoffice.org-2.0-devel/files/openoffice-wrapper b/editors/openoffice.org-2.0-devel/files/openoffice-wrapper index 102cca3fb8e8..8eee42eef836 100644 --- a/editors/openoffice.org-2.0-devel/files/openoffice-wrapper +++ b/editors/openoffice.org-2.0-devel/files/openoffice-wrapper @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2.0-devel/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2.0-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 diff --git a/editors/openoffice.org-2.0/files/openoffice-wrapper b/editors/openoffice.org-2.0/files/openoffice-wrapper index 776e1b2f2846..4faa8ec53df4 100644 --- a/editors/openoffice.org-2.0/files/openoffice-wrapper +++ b/editors/openoffice.org-2.0/files/openoffice-wrapper @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2.0/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2.0/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 diff --git a/editors/openoffice.org-2/files/openoffice-wrapper b/editors/openoffice.org-2/files/openoffice-wrapper index 2288862c0c09..dfca270c0100 100644 --- a/editors/openoffice.org-2/files/openoffice-wrapper +++ b/editors/openoffice.org-2/files/openoffice-wrapper @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2/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 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 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 diff --git a/editors/openoffice.org-3/files/openoffice-wrapper b/editors/openoffice.org-3/files/openoffice-wrapper index afabcaaec254..993675a92c3c 100644 --- a/editors/openoffice.org-3/files/openoffice-wrapper +++ b/editors/openoffice.org-3/files/openoffice-wrapper @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3/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 diff --git a/editors/openoffice.org-vcltesttool/files/openoffice-wrapper b/editors/openoffice.org-vcltesttool/files/openoffice-wrapper index beaa6b4bc144..73c1f4733ed0 100644 --- a/editors/openoffice.org-vcltesttool/files/openoffice-wrapper +++ b/editors/openoffice.org-vcltesttool/files/openoffice-wrapper @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-vcltesttool/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-vcltesttool/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