<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -98,9 +98,9 @@ class Pirum_CLI
       return 1;
     }
 
-    copy($this-&gt;options[3], $target.'/get/'.$this-&gt;options[3]);
-    system('cd '.$target.'/get/ &amp;&amp; gunzip '.$this-&gt;options[3]);
-    copy($this-&gt;options[3], $target.'/get/'.$this-&gt;options[3]);
+    copy($this-&gt;options[3], $target.'/get/'.basename($this-&gt;options[3]));
+    system('cd '.$target.'/get/ &amp;&amp; gunzip '.basename($this-&gt;options[3]));
+    copy($this-&gt;options[3], $target.'/get/'.basename($this-&gt;options[3]));
 
     $this-&gt;runBuild($target);
 
@@ -230,7 +230,7 @@ EOF;
 
     $index = &lt;&lt;&lt;EOF
 &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
-&lt;feed xmlns=&quot;http://www.w3.org/2005/Atom&quot; xml:base=&quot;http://fabien.potencier.org/&quot;&gt;
+&lt;feed xmlns=&quot;http://www.w3.org/2005/Atom&quot; xml:base=&quot;{$this-&gt;server-&gt;url}&quot;&gt;
   &lt;title&gt;{$this-&gt;server-&gt;summary} Latest Releases&lt;/title&gt;
   &lt;link href=&quot;{$this-&gt;server-&gt;url}&quot; /&gt;
   &lt;author&gt;
@@ -327,7 +327,7 @@ EOF;
         &lt;h2&gt;Using this Channel&lt;/h2&gt;
         &lt;p&gt;This channel is to be used with the PEAR installer.&lt;/p&gt;
         &lt;em&gt;Registering&lt;/em&gt; the channel:
-        &lt;pre&gt;&lt;code&gt;pear channel-discover {$this-&gt;server-&gt;url}&lt;/code&gt;&lt;/pre&gt;
+        &lt;pre&gt;&lt;code&gt;pear channel-discover {$this-&gt;server-&gt;name}&lt;/code&gt;&lt;/pre&gt;
         &lt;em&gt;Listing&lt;/em&gt; available packages:
         &lt;pre&gt;&lt;code&gt;pear remote-list -c {$this-&gt;server-&gt;alias}&lt;/code&gt;&lt;/pre&gt;
         &lt;em&gt;Installing&lt;/em&gt; a package:
@@ -771,6 +771,8 @@ EOF;
     // get information for each package
     foreach ($files as $file)
     {
+      $this-&gt;formatter and print $this-&gt;formatter-&gt;formatSection('INFO', 'Parsing Package '.basename($file));
+
       $info = new Pirum_Package($file);
 
       if ($info-&gt;getChannel() != $this-&gt;server-&gt;name)
@@ -911,6 +913,11 @@ class Pirum_Package
     $this-&gt;loadPackage();
   }
 
+  public function __destruct()
+  {
+    system('rm -rf '.$this-&gt;tmpDir);
+  }
+
   public function getDate($format = 'Y-m-d H:i:s')
   {
     return date($format, strtotime($this-&gt;package-&gt;date.' '.$this-&gt;package-&gt;time));
@@ -1144,3 +1151,4 @@ class Pirum_CLI_Formatter
     return sprintf(&quot;  %s %s\n&quot;, $this-&gt;format($section, $style), $text);
   }
 }
+</diff>
      <filename>application/scripts/pirum</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>50c817869abce90079c2f694daba802d1684a238</id>
    </parent>
  </parents>
  <author>
    <name>Fabien Potencier</name>
    <email>fabien.potencier@gmail.com</email>
  </author>
  <url>http://github.com/swiftmailer/swiftmailer-website/commit/ae0c1f9a2685a186fd17ca5bf9c0645a3af06430</url>
  <id>ae0c1f9a2685a186fd17ca5bf9c0645a3af06430</id>
  <committed-date>2009-11-09T00:48:50-08:00</committed-date>
  <authored-date>2009-11-09T00:48:50-08:00</authored-date>
  <message>updated pirum to 0.9.1</message>
  <tree>5f7d92f27fba452be8e8a09a9c2d065f878a2f96</tree>
  <committer>
    <name>Fabien Potencier</name>
    <email>fabien.potencier@gmail.com</email>
  </committer>
</commit>
