diff options
author | Martin Hollmichel <martin.hollmichel@gmail.com> | 2015-06-29 18:17:22 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-06-29 18:13:49 +0000 |
commit | 6f595a613f79ebf84984a894cdf2dd603b47de20 (patch) | |
tree | d66e231bc846ce542e821f8c554819b59f4a8415 /solenv/bin | |
parent | 7e7525ac82772d61f3c223216a3297dadf5b1bef (diff) |
Simplify productname logic.
Change-Id: I55fb371843071943ea7966e42444cc56faee9430
Reviewed-on: https://gerrit.libreoffice.org/16589
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'solenv/bin')
-rw-r--r-- | solenv/bin/modules/installer/download.pm | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/solenv/bin/modules/installer/download.pm b/solenv/bin/modules/installer/download.pm index 6b5caab89a0a..d62680d84ca0 100644 --- a/solenv/bin/modules/installer/download.pm +++ b/solenv/bin/modules/installer/download.pm @@ -301,13 +301,7 @@ sub get_downloadname_productname my $start = ""; - if ( $allvariables->{'PRODUCTNAME'} eq "LibreOffice" ) { $start = "LibreOffice"; } - - elsif ( $allvariables->{'PRODUCTNAME'} eq "LibreOfficeDev" ) { $start = "LibreOfficeDev"; } - - elsif ( $allvariables->{'PRODUCTNAME'} eq "" ) { $start = "LibreOffice"; } - - else { $start = $allvariables->{'PRODUCTNAME'}; } + $start = $allvariables->{'PRODUCTNAME'}; return $start; } |