summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Beaver <cellog@php.net>2003-11-17 06:07:15 +0000
committerGreg Beaver <cellog@php.net>2003-11-17 06:07:15 +0000
commit137adbb708e656aaf8d77a8296c3ca5f699970cd (patch)
treee6382fd9352f4957cfd4564d49fc3f5dd0c20349
parent82bd0915f52b947567442a087cd0961c13e1062b (diff)
downloadphp-git-137adbb708e656aaf8d77a8296c3ca5f699970cd.tar.gz
necessary refinement
-rw-r--r--pear/PEAR/Installer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pear/PEAR/Installer.php b/pear/PEAR/Installer.php
index 41d46d5541..1b7f5e4d74 100644
--- a/pear/PEAR/Installer.php
+++ b/pear/PEAR/Installer.php
@@ -803,7 +803,7 @@ class PEAR_Installer extends PEAR_Common
if ($version == 0 && !isset($options['force'])) {
return $this->raiseError('No release with state equal to: \'' . implode(', ', $states) .
"' found for '$pkgfile'");
- } else {
+ } elseif ($version == 0) {
$this->log(0, "Warning: $pkgfile is state '$inf[state]' which is less stable " .
"than state '$state'");
}