cvs: pear-core / package-PEAR.xml package2.xml /PEAR Installer.php

From: Date: Mon, 25 Sep 2006 23:01:06 +0000
Subject: cvs: pear-core / package-PEAR.xml package2.xml /PEAR Installer.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-42230@lists.php.net to get a copy of this message
cellog Mon Sep 25 23:01:06 2006 UTC Modified files: /pear-core/PEAR Installer.php /pear-core package-PEAR.xml package2.xml Log: * fix Bug #8788: fatal error in Installer.php when task is not found http://cvs.php.net/viewvc.cgi/pear-core/PEAR/Installer.php?r1=1.236&r2=1.237&diff_format=u Index: pear-core/PEAR/Installer.php diff -u pear-core/PEAR/Installer.php:1.236 pear-core/PEAR/Installer.php:1.237 --- pear-core/PEAR/Installer.php:1.236 Mon Sep 25 05:12:21 2006 +++ pear-core/PEAR/Installer.php Mon Sep 25 23:01:05 2006 @@ -18,7 +18,7 @@ * @author Greg Beaver <cellog@php.net> * @copyright 1997-2006 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: Installer.php,v 1.236 2006/09/25 05:12:21 cellog Exp $ + * @version CVS: $Id: Installer.php,v 1.237 2006/09/25 23:01:05 cellog Exp $ * @link http://pear.php.net/package/PEAR * @since File available since Release 0.1 */ @@ -530,7 +530,8 @@ $md5sum = md5($contents); } foreach ($atts as $tag => $raw) { - $tag = str_replace($pkg->getTasksNs() . ':', '', $tag); + $tag = str_replace(array($pkg->getTasksNs() . ':', '-'), + array('', '_'), $tag); $task = "PEAR_Task_$tag"; $task = &new $task($this->config, $this, PEAR_TASK_INSTALL); if (!$task->isScript()) { // scripts are only handled after installation http://cvs.php.net/viewvc.cgi/pear-core/package-PEAR.xml?r1=1.391&r2=1.392&diff_format=u Index: pear-core/package-PEAR.xml diff -u pear-core/package-PEAR.xml:1.391 pear-core/package-PEAR.xml:1.392 --- pear-core/package-PEAR.xml:1.391 Mon Sep 25 05:18:23 2006 +++ pear-core/package-PEAR.xml Mon Sep 25 23:01:06 2006 @@ -115,6 +115,7 @@ * fix Bug #8622: PFM2 - wrong php exclude version is not detected * fix Bug #8519: typo in PEAR/Start.php OS_WINDOWS not WINDOWS * fix Bug #8571: Sparse error message in registry + * fix Bug #8788: fatal error in Installer.php when task is not found * implement Request #3436: implement staticPop [PEAR_Error_Stack] * implement Request #6396: add extension enabling in php.ini for 1.5.0 * implement Request #6614: use go-pear style dialogs in PEAR_Command_CLI by default http://cvs.php.net/viewvc.cgi/pear-core/package2.xml?r1=1.286&r2=1.287&diff_format=u Index: pear-core/package2.xml diff -u pear-core/package2.xml:1.286 pear-core/package2.xml:1.287 --- pear-core/package2.xml:1.286 Mon Sep 25 05:18:23 2006 +++ pear-core/package2.xml Mon Sep 25 23:01:06 2006 @@ -119,6 +119,7 @@ * fix Bug #8622: PFM2 - wrong php exclude version is not detected * fix Bug #8519: typo in PEAR/Start.php OS_WINDOWS not WINDOWS * fix Bug #8571: Sparse error message in registry + * fix Bug #8788: fatal error in Installer.php when task is not found * implement Request #3436: implement staticPop [PEAR_Error_Stack] * implement Request #6396: add extension enabling in php.ini for 1.5.0 * implement Request #6614: use go-pear style dialogs in PEAR_Command_CLI by default

« previous php.pear.cvs (#42230) next »