From: Tomas V.V.Cox Date: Sun, 16 Dec 2001 16:21:35 +0000 (+0000) Subject: added support for and tags X-Git-Tag: PRE_ISSET_PATCH~521 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a919c54de1b32e3c9f73d642896663b913589f40;p=php added support for and tags --- diff --git a/pear/PEAR/Common.php b/pear/PEAR/Common.php index 663124cae7..1b1a9261c7 100644 --- a/pear/PEAR/Common.php +++ b/pear/PEAR/Common.php @@ -180,6 +180,14 @@ class PEAR_Common extends PEAR $this->current_release =& $this->pkginfo['changelog'][$this->c_i]; } break; + case 'deps': + $this->pkginfo['release_deps'] = array(); + break; + case 'dep': + // dependencies array index + $this->d_i = (isset($this->d_i)) ? $this->d_i + 1 : 0; + $this->pkginfo['release_deps'][$this->d_i] = $attribs; + break; } } @@ -318,6 +326,11 @@ class PEAR_Common extends PEAR case 'sources': $this->lib_sources[] = trim($data); break; + case 'dep': + if ($data = trim($data)) { + $this->pkginfo['release_deps'][$this->d_i]['name'] = $data; + } + break; } }