]> granicus.if.org Git - php/commitdiff
added the <license> tag under <release> for the package.xml file
authorTomas V.V.Cox <cox@php.net>
Sun, 23 Dec 2001 21:32:09 +0000 (21:32 +0000)
committerTomas V.V.Cox <cox@php.net>
Sun, 23 Dec 2001 21:32:09 +0000 (21:32 +0000)
pear/PEAR/Common.php

index e25fcc3511fda935f68465861052fe6c82db81a3..5f02913bd9afec5f3ff0d6ce14dfbbd780007a0a 100644 (file)
@@ -316,7 +316,8 @@ class PEAR_Common extends PEAR
                     $this->pkginfo['release_state'] = $data;
                 }
                 break;
-            case 'dir':
+            case 'license':
+                $this->pkginfo['release_license'] = trim($data);
                 break;
             case 'file':
                 $this->current_file = trim($data);