浏览代码

Added package type rar.

Derrick Nelson 11 年之前
父节点
当前提交
2ba8042986
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/Composer/Factory.php

+ 1 - 0
src/Composer/Factory.php

@@ -357,6 +357,7 @@ class Factory
         $dm->setDownloader('svn', new Downloader\SvnDownloader($io, $config));
         $dm->setDownloader('hg', new Downloader\HgDownloader($io, $config));
         $dm->setDownloader('zip', new Downloader\ZipDownloader($io, $config, $eventDispatcher, $cache));
+        $dm->setDownloader('rar', new Downloader\RarDownloader($io, $config, $eventDispatcher, $cache));
         $dm->setDownloader('tar', new Downloader\TarDownloader($io, $config, $eventDispatcher, $cache));
         $dm->setDownloader('phar', new Downloader\PharDownloader($io, $config, $eventDispatcher, $cache));
         $dm->setDownloader('file', new Downloader\FileDownloader($io, $config, $eventDispatcher, $cache));