diff options
author | mbr <mbr@FreeBSD.org> | 2003-03-28 09:00:55 +0000 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2003-03-28 09:00:55 +0000 |
commit | 05a33e7bb9da8d4d615c91ce3ed0e7d87cd01cb9 (patch) | |
tree | 022b1f61277ac5e940d10adc3f9ea4a9a986e5b7 /editors/openoffice.org-2-devel | |
parent | 38cb07e1018b9644a82f70bb723bc8cc46c21699 (diff) | |
download | FreeBSD-ports-05a33e7bb9da8d4d615c91ce3ed0e7d87cd01cb9.zip FreeBSD-ports-05a33e7bb9da8d4d615c91ce3ed0e7d87cd01cb9.tar.gz |
Workarounds for the startup wrappers.
Diffstat (limited to 'editors/openoffice.org-2-devel')
-rw-r--r-- | editors/openoffice.org-2-devel/files/openoffice-wrapper | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/editors/openoffice.org-2-devel/files/openoffice-wrapper b/editors/openoffice.org-2-devel/files/openoffice-wrapper index 2352666..e24792b3 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.3 2003-03-05 23:24:05 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2-devel/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $ oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ program=`echo $0 | sed -e 's|.*-||'` @@ -9,11 +9,15 @@ 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 +fi + case $program in $0) - exec $oopath/soffice "$@" + cd $oopath && ./soffice "$@" ;; *) - exec $oopath/$program "$@" + cd $oopath && exec $program "$@" ;; esac |