From: Greg Beaver Date: Fri, 31 Oct 2003 04:55:00 +0000 (+0000) Subject: MFH #171 X-Git-Tag: php-4.3.5RC1~265 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c1611188cd918291e27e9224196f9e26d906637;p=php MFH #171 --- diff --git a/pear/PEAR/Installer.php b/pear/PEAR/Installer.php index 184cc25727..8e977911cc 100644 --- a/pear/PEAR/Installer.php +++ b/pear/PEAR/Installer.php @@ -886,6 +886,11 @@ class PEAR_Installer extends PEAR_Common continue; } if (!isset($installed[strtolower($info['name'])])) { + // check to see if we can install the specific version required + if ($info['rel'] == 'eq') { + $deppackages[] = $info['name'] . '-' . $info['version']; + continue; + } // skip upgrade check for packages we don't have installed $deppackages[] = $info['name']; continue;