1
0
Fork 0
composer/src/Composer/Downloader/PearDownloader.php

35 lines
744 B
PHP
Raw Normal View History

<?php
/*
* This file is part of Composer.
*
* (c) Nils Adermann <naderman@naderman.de>
* Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Composer\Downloader;
use Composer\Package\PackageInterface;
/**
2011-09-29 21:05:30 +00:00
* Downloader for pear packages
*
* @author Jordi Boggiano <j.boggiano@seld.be>
2011-09-29 21:05:30 +00:00
* @author Kirill chEbba Chebunin <iam@chebba.org>
*/
2011-09-29 21:05:30 +00:00
class PearDownloader extends TarDownloader
{
2011-09-29 21:05:30 +00:00
/**
* {@inheritDoc}
*/
protected function extract($file, $path)
2011-09-25 21:43:49 +00:00
{
2011-09-29 21:05:30 +00:00
parent::extract($file, $path);
@unlink($path . '/package.sig');
@unlink($path . '/package.xml');
}
2011-09-17 13:12:45 +00:00
}