summaryrefslogtreecommitdiff
path: root/solenv/bin
diff options
context:
space:
mode:
authorMartin Hollmichel <martin.hollmichel@gmail.com>2015-06-29 18:17:22 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-06-29 18:13:49 +0000
commit6f595a613f79ebf84984a894cdf2dd603b47de20 (patch)
treed66e231bc846ce542e821f8c554819b59f4a8415 /solenv/bin
parent7e7525ac82772d61f3c223216a3297dadf5b1bef (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.pm8
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;
}