diff --git a/pear/PEAR/Common.php b/pear/PEAR/Common.php index e25fcc3511f..5f02913bd9a 100644 --- a/pear/PEAR/Common.php +++ b/pear/PEAR/Common.php @@ -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);