cvs: php4 /pear/PEAR Installer.php
| From: | Stig Bakken | Date: | Thu, 25 Apr 2002 09:14:04 +0000 |
| Subject: | cvs: php4 /pear/PEAR Installer.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-3544@lists.php.net to get a copy of this message | ||
ssb Thu Apr 25 05:14:04 2002 EDT
Modified files:
/php4/pear/PEAR Installer.php
Log:
* fix warning
Index: php4/pear/PEAR/Installer.php
diff -u php4/pear/PEAR/Installer.php:1.51 php4/pear/PEAR/Installer.php:1.52
--- php4/pear/PEAR/Installer.php:1.51 Sun Apr 21 07:46:41 2002
+++ php4/pear/PEAR/Installer.php Thu Apr 25 05:13:55 2002
@@ -17,7 +17,7 @@
// | Tomas V.V.Cox <cox@idecnet.com> |
// +----------------------------------------------------------------------+
//
-// $Id: Installer.php,v 1.51 2002/04/21 11:46:41 ssb Exp $
+// $Id: Installer.php,v 1.52 2002/04/25 09:13:55 ssb Exp $
require_once 'PEAR/Common.php';
require_once 'PEAR/Registry.php';
@@ -257,6 +257,8 @@
}
$oldcwd = getcwd();
$need_download = false;
+ // ==> XXX should be removed later on
+ $flag_old_format = false;
if (preg_match('#^(http|ftp)://#', $pkgfile)) {
$need_download = true;
} elseif (!@is_file($pkgfile)) {
@@ -341,8 +343,6 @@
// ----- Look for existing package file
$descfile = $tmpdir . DIRECTORY_SEPARATOR . 'package.xml';
- // ==> XXX This part should be removed later on
- $flag_old_format = false;
if (!is_file($descfile)) {
// ----- Look for old package archive format
// In this format the package.xml file was inside the