diff options
author | Martin Blapp <mbr@FreeBSD.org> | 2003-03-28 09:00:55 +0000 |
---|---|---|
committer | Martin Blapp <mbr@FreeBSD.org> | 2003-03-28 09:00:55 +0000 |
commit | aca17555d7e42bb6c4a7024720b796a2456b892c (patch) | |
tree | acd4a549977e36e8daba631f006f4aedaec97f32 /editors/openoffice.org-1.1 | |
parent | 53e78c96f62e6e7befd7c610f4674dc028564810 (diff) | |
download | ports-aca17555d7e42bb6c4a7024720b796a2456b892c.tar.gz ports-aca17555d7e42bb6c4a7024720b796a2456b892c.zip |
Notes
Diffstat (limited to 'editors/openoffice.org-1.1')
-rw-r--r-- | editors/openoffice.org-1.1/files/openoffice-wrapper | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/editors/openoffice.org-1.1/files/openoffice-wrapper b/editors/openoffice.org-1.1/files/openoffice-wrapper index e780a65aeeba..f2cb2d07b064 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.3 2003-03-05 23:24:05 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-1.1/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 |