Browse Source

Fix: #61 [NEW]: error with pear install in pear 1.3b1

by outputting a full error message plus some help
PEAR_1_4DEV
Tomas V.V.Cox 23 years ago
parent
commit
7630f962f1
  1. 5
      pear/PEAR/Installer.php

5
pear/PEAR/Installer.php

@ -738,6 +738,11 @@ class PEAR_Installer extends PEAR_Common
$possible = array($ver => $inf['state']);
}
}
} else {
return $this->raiseError('No release with state equal to: \'' . implode(', ', $states) .
"' found. The latest is $pkgfile-$ver ({$inf['state']}). Use " .
"'pear install $pkgfile-$ver' or set the 'preferred_state' ".
"to '{$inf['state']}' for installing this package.");
}
}
if ($possible) {

Loading…
Cancel
Save