[PATCH] Adapt LibreOffice branding in LibO-SDK user installation script.

Giuseppe Castagno giuseppe.castagno at acca-esse.eu
Fri Nov 5 07:11:47 PDT 2010


This patch adapt the defaults presented when a user sdk environment is
created in GNU/Linux and similar platforms.
---
 odk/configure.pl   |    4 ++--
 odk/setsdkenv_unix |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/odk/configure.pl b/odk/configure.pl
index 85fae44..3353be6 100755
--- a/odk/configure.pl
+++ b/odk/configure.pl
@@ -636,9 +636,9 @@ sub searchMacOffice
 
 sub searchoffice
 {
-    my $offset = rindex($main::sdkpath, "/openoffice.org");
+    my $offset = rindex($main::sdkpath, "/libreoffice");
     my $tmpOffice = substr($main::sdkpath, 0, $offset);
-    my $officepath = "$tmpOffice/openoffice.org$main::OO_MAJORVERSION";
+    my $officepath = "$tmpOffice/libreoffice";
 
 #	if ( $main::OO_MINORVERSION > 0) {
 #		$officepath = "$officepath$main::OO_MINORVERSION";
diff --git a/odk/setsdkenv_unix b/odk/setsdkenv_unix
index 31e0200..6b0dd7c 100755
--- a/odk/setsdkenv_unix
+++ b/odk/setsdkenv_unix
@@ -10,7 +10,7 @@ if [ "$OSTYPE" = "Darwin" ]
 then
     OO_SDK_NAME=`basename $OO_SDK_HOME`
 else
-    OO_SDK_NAME=openoffice.org${OOVERSION}_sdk
+    OO_SDK_NAME=libreoffice${OOVERSION}_sdk
 fi
 
 export OO_SDK_HOME
-- 
1.6.3.3


--------------090702050103020609010108--


More information about the LibreOffice mailing list