This commit is contained in:
Greg Beaver 2003-08-31 06:08:41 +00:00
parent b0d74a9485
commit 0e6f284a62
2 changed files with 3 additions and 1 deletions

View File

@ -284,7 +284,8 @@ class PEAR_Installer extends PEAR_Common
if (strtolower($md5sum) == strtolower($atts['md5sum'])) {
$this->log(3, "md5sum ok: $final_dest_file");
} else {
$this->log(0, "warning : bad md5sum for file $final_dest_file");
return $this->raiseError("bad md5sum for file $final_dest_file",
PEAR_INSTALLER_FAILED);
}
}
if (!OS_WINDOWS) {

View File

@ -65,6 +65,7 @@ use of inadvisable @ in setErrorHandling
pear install DB-1.2.tar to download as uncompressed tar
* Fix #25008 - unhelpful error message
* Fixed optional dependencies in Dependency.php
* Fix #25322 - bad md5sum should be fatal error
</notes>
<provides type="class" name="OS_Guess" />
<provides type="class" name="System" />