Merge pull request #558 from stloyd/patch-1

[PharDownloader] Force overwrite if previous extract failed and was not ...
main
Jordi Boggiano 12 years ago
commit 858d967a42

@ -28,7 +28,7 @@ class PharDownloader extends ArchiveDownloader
{
// Can throw an UnexpectedValueException
$archive = new \Phar($file);
$archive->extractTo($path);
$archive->extractTo($path, null, true);
/* TODO: handle openssl signed phars
* https://github.com/composer/composer/pull/33#issuecomment-2250768
* https://github.com/koto/phar-util

Loading…
Cancel
Save