daily pastebin goal
10%
SHARE
TWEET

Untitled

a guest Jun 19th, 2017 41 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. solenv/bin/modules/installer/download.pm:462
  2.  
  3. #########################################################
  4. # Setting download name
  5. #########################################################
  6.  
  7. sub get_downloadname_productname
  8. {
  9.     my ($allvariables) = @_;
  10.  
  11.     my $start = "LO";
  12.  
  13.     if ( $allvariables->{'PRODUCTNAME'} eq "LibreOffice" ) { $start = "LO"; }
  14.    
  15.     if ( $allvariables->{'PRODUCTNAME'} eq "LO-dev" ) { $start = "LO-Dev"; }
  16.  
  17.     if (( $allvariables->{'PRODUCTNAME'} eq "LibreOffice" ) && ( $allvariables->{'POSTVERSIONEXTENSION'} eq "SDK" )) { $start = "LO-SDK"; }
  18.  
  19.     if (( $allvariables->{'PRODUCTNAME'} eq "LO-dev" ) && ( $allvariables->{'POSTVERSIONEXTENSION'} eq "SDK" )) { $start = "LO-Dev-SDK"; }
  20.    
  21.     if ( $allvariables->{'PRODUCTNAME'} eq "URE" ) { $start = "LO-URE"; }
  22.    
  23.     if ( $allvariables->{'PRODUCTNAME'} eq "BrOffice.org" ) { $start = "BrOo"; }
  24.  
  25.     if ( $allvariables->{'PRODUCTNAME'} eq "BrOo-dev" ) { $start = "BrOo-Dev"; }
  26.  
  27.     if (( $allvariables->{'PRODUCTNAME'} eq "BrOffice.org" ) && ( $allvariables->{'POSTVERSIONEXTENSION'} eq "SDK" )) { $start = "BrOo-SDK"; }
  28.  
  29.     if (( $allvariables->{'PRODUCTNAME'} eq "BrOo-dev" ) && ( $allvariables->{'POSTVERSIONEXTENSION'} eq "SDK" )) { $start = "BrOo-Dev-SDK"; }
  30.  
  31.     return $start;
  32. }
RAW Paste Data
Top