Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > daa97b8c1c51c3cf7fc9b4fedaffc08c > files > 37

openoffice.org-2.2.1-3mdv2008.0.src.rpm

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