[Libreoffice-commits] .: desktop/scripts sysui/desktop

Fridrich Strba fridrich at kemper.freedesktop.org
Wed Nov 3 08:34:49 PDT 2010


 desktop/scripts/soffice.sh         |    2 +-
 sysui/desktop/share/create_tree.sh |    4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

New commits:
commit a927167fa027511a69936bc43e159831b319f5a3
Author: Giuseppe Castagno <giuseppe.castagno at acca-esse.eu>
Date:   Fri Oct 15 11:22:59 2010 +0200

    Correct symlink in order to be used in SDK and testtool.
    
    This in order to recognize the application installation path;
    only for Linux and similar platforms.

diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh
index 00c2b5c..d7eb928 100644
--- a/desktop/scripts/soffice.sh
+++ b/desktop/scripts/soffice.sh
@@ -60,7 +60,7 @@ if [ -e ooenv ] ; then
     . ./ooenv
 fi
 
-sd_binary=`basename "$0"`.bin
+sd_binary=`basename "$0" | sed 's/libreoffice/soffice/g'`.bin
 
 #collect all bootstrap variables specified on the command line
 #so that they can be passed as arguments to javaldx later on
diff --git a/sysui/desktop/share/create_tree.sh b/sysui/desktop/share/create_tree.sh
index 48b0458..60ebf9f 100644
--- a/sysui/desktop/share/create_tree.sh
+++ b/sysui/desktop/share/create_tree.sh
@@ -94,7 +94,9 @@ mkdir -p ${DESTDIR}/usr/bin
 
 office_root=/opt/${PREFIX}
 
-cp openoffice.sh ${DESTDIR}/usr/bin/${PREFIX}
+#this symlink is needed to have the API boostrap functions running right
+ln -sf ${office_root}/program/soffice ${DESTDIR}/usr/bin/libreoffice
+
 cp printeradmin.sh ${DESTDIR}/usr/bin/${PREFIX}-printeradmin
 chmod 0755 ${DESTDIR}/usr/bin/${PREFIX} ${DESTDIR}/usr/bin/${PREFIX}-printeradmin
 


More information about the Libreoffice-commits mailing list