From 6f595a613f79ebf84984a894cdf2dd603b47de20 Mon Sep 17 00:00:00 2001 From: Martin Hollmichel Date: Mon, 29 Jun 2015 18:17:22 +0100 Subject: Simplify productname logic. Change-Id: I55fb371843071943ea7966e42444cc56faee9430 Reviewed-on: https://gerrit.libreoffice.org/16589 Reviewed-by: Michael Meeks Tested-by: Michael Meeks --- solenv/bin/modules/installer/download.pm | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'solenv/bin') 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; } -- cgit v1.2.3