projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c14afa
)
Ensure the installer errors out if something fails during package installation.
author
Gunnar Wrobel
<p@rdus.de>
Mon, 4 Oct 2010 10:51:47 +0000
(12:51 +0200)
committer
Gunnar Wrobel
<p@rdus.de>
Mon, 4 Oct 2010 15:19:49 +0000
(17:19 +0200)
components/lib/Components/Pear/InstallLocation.php
patch
|
blob
|
history
diff --git
a/components/lib/Components/Pear/InstallLocation.php
b/components/lib/Components/Pear/InstallLocation.php
index
86d9111
..
27d6c3e
100644
(file)
--- a/
components/lib/Components/Pear/InstallLocation.php
+++ b/
components/lib/Components/Pear/InstallLocation.php
@@
-249,10
+249,12
@@
class Components_Pear_InstallLocation
private function getInstallationHandler()
{
-
return
new PEAR_Command_Install(
+
$installer =
new PEAR_Command_Install(
new PEAR_Frontend_CLI(),
$this->getPearConfig()
);
+ $installer->setErrorHandling(PEAR_ERROR_EXCEPTION);
+ return $installer;
}
/**