[Libreoffice-commits] .: Branch 'libreoffice-3-3' - solenv/bin

Thorsten Behrens thorsten at kemper.freedesktop.org
Fri Nov 5 05:26:09 PDT 2010


 solenv/bin/modules/installer/simplepackage.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit dde811ad2976c7ae6b6b301a74436aba7367773c
Author: Thorsten Behrens <tbehrens at novell.com>
Date:   Fri Nov 5 13:10:42 2010 +0100

    Use org.libreoffice.script for Mac preferences
    
    This fixes fdo#30568
    (cherry picked from commit 236de85bba6416d9c905029116c875671cbeaf15)

diff --git a/solenv/bin/modules/installer/simplepackage.pm b/solenv/bin/modules/installer/simplepackage.pm
index 9ad0fc6..fe89bd0 100644
--- a/solenv/bin/modules/installer/simplepackage.pm
+++ b/solenv/bin/modules/installer/simplepackage.pm
@@ -354,7 +354,7 @@ sub replace_variables_in_scriptfile
     replace_one_variable_in_shellscript($scriptfile, $allvariables->{'PRODUCTVERSION'}, "PRODUCTVERSION" );
     
     my $scriptname = lc($allvariables->{'PRODUCTNAME'}) . "\.script";
-    if ( $allvariables->{'PRODUCTNAME'} eq "OpenOffice.org" ) { $scriptname = "org.openoffice.script"; }
+    if ( $allvariables->{'PRODUCTNAME'} eq "LibreOffice" ) { $scriptname = "org.libreoffice.script"; }
 
     replace_one_variable_in_shellscript($scriptfile, $scriptname, "SEARCHSCRIPTNAME" );
 }


More information about the Libreoffice-commits mailing list