diff options
author | Greg Beaver <cellog@php.net> | 2003-10-31 04:52:00 +0000 |
---|---|---|
committer | Greg Beaver <cellog@php.net> | 2003-10-31 04:52:00 +0000 |
commit | 5c76e88d0e48cfceab2d8c9afa6a0723ff95abe1 (patch) | |
tree | 5106b97d1ff5d0575ea1eb0826109e53afa7eb39 /pear/PEAR | |
parent | 00635d08074cff28af53f654dfcf45a14263c5f0 (diff) | |
download | php-git-5c76e88d0e48cfceab2d8c9afa6a0723ff95abe1.tar.gz |
fix #171, --alldeps with a rel="eq" should install the required version, if possible
Diffstat (limited to 'pear/PEAR')
-rw-r--r-- | pear/PEAR/Installer.php | 5 |
1 files changed, 5 insertions, 0 deletions
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; |