|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2002-05-09 15:57 UTC] ssb@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 04:00:01 2025 UTC | 
I belive the following diff fixes this: --- OLD.Installer.php Thu May 9 15:33:55 2002 +++ Installer.php Thu May 9 15:34:21 2002 @@ -250,7 +250,7 @@ } elseif (!@is_file($pkgfile)) { if (preg_match('/^[A-Z][A-Za-z0-9_]+$/', $pkgfile)) { // valid package name - if ($this->registry->packageExists($pkgfile)) { + if (empty($options['upgrade']) && $this->registry->packageExists($pkgfile)) { return $this->raiseError("$pkgfile already installed"); } if ($config === null) { - Colin