[Libreoffice-commits] .: solenv/bin

Thorsten Behrens thorsten at kemper.freedesktop.org
Fri Nov 5 05:15:57 PDT 2010


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

New commits:
commit a42e8da4e49782aa564406b77a5ee412f9dbfaad
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

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