1
0
Fork 0

Remove unnecessary dist type information from archive files

pull/1567/head
Nils Adermann 2013-02-26 14:53:49 +01:00
parent 935f7271f8
commit 074af5dc54
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ class ArchiveManager
if (preg_match('{^[a-f0-9]{40}$}', $package->getDistReference())) {
$nameParts = array_merge($nameParts, array($package->getDistReference(), $package->getDistType()));
} else {
$nameParts = array_merge($nameParts, array($package->getPrettyVersion(), $package->getDistReference(), $package->getDistType()));
$nameParts = array_merge($nameParts, array($package->getPrettyVersion(), $package->getDistReference()));
}
return implode('-', array_filter($nameParts, function ($p) {