Re: pear install with url doesn't work?
| From: | Alan Knowles | Date: | Tue, 28 Oct 2003 11:19:36 +0000 |
| Subject: | Re: pear install with url doesn't work? | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-23078@lists.php.net to get a copy of this message | ||
looking at this..
http://cvs.php.net/diff.php/php-src/pear/PEAR/Installer.php?r1=1.136&r2=1.137&ty=h&num=10
looks like the
else { // if not valid filename...
$this->_downloadFile(......
was removed.
Regards
Alan
Joakim Andersson wrote:
On Tue, Oct 28, 2003 at 07:35:24AM +0800, Alan Knowles wrote:I hope this has not changed.. - I install alot of my 'pre-pear' packages using urls in a simple shell script.. It does look like there is a bug there.. - It should not be checking the name specified at the command line for validity.. (it's a major BC break)It's the download() method in the Installer.php file which doesn't seem to handle installing from an URL source. This patch: http://morrdusk.net/files/20031028/pear_installer_url_source_fix.patch makes it work again for me, but it's probably not the right solution. Regards, Joakim