Only do the workaround if a user-install exists.

This commit is contained in:
Martin Blapp 2003-03-29 07:47:10 +00:00
parent 99d05ed472
commit f63f4af345
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=77673
17 changed files with 84 additions and 50 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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