--- ooo-build/bin/package-ooo.wrapper 2007-02-10 15:32:02.000000000 +0100 +++ ooo-build/bin/package-ooo 2007-02-11 11:24:13.000000000 +0100 @@ -34,7 +34,11 @@ cat <<EOT >$1 #!/bin/sh export OOO_EXTRA_ARG='$2' -$OOINSTBASE/program/ooqstart $3 "\$@" +if [ -x $OOINSTBASE/program/ooqstart ]; then + $OOINSTBASE/program/ooqstart $3 "\$@" +else + exec $OOINSTBASE/program/soffice $2 "\$@" +fi EOT chmod 755 $1 }