[zi-cvs] packages/com.zzoss.installer.lib Registry.php,1.32,1.33

Sandro Zic <[email protected]> Wed, 07 Apr 2004 14:21:55 +0000
Newsgroups gmane.comp.php.zzoss.installer.cvs
Message-ID <[email protected]>
Update of /cvsroot/zzossinstaller/packages/com.zzoss.installer.lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8099/com.zzoss.installer.lib

Modified Files:
	Registry.php 
Log Message:
make installation of single packages installed via packages manager work

Index: Registry.php
===================================================================
RCS file: /cvsroot/zzossinstaller/packages/com.zzoss.installer.lib/Registry.php,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** Registry.php	7 Apr 2004 08:41:13 -0000	1.32
--- Registry.php	7 Apr 2004 14:21:53 -0000	1.33
***************
*** 1051,1055 ****
          
          // have things changed in the source directory where all the package archives reside?
! 
          if(filemtime($pkgs_src_dir.'.') > $pkgs_reg_mtime){
              if(ZZOSS_INSTALLER_REGISTRY_DEBUG){
--- 1051,1055 ----
          
          // have things changed in the source directory where all the package archives reside?
!         //echo filemtime($pkgs_src_dir.'.').' (downloads/) > '.$pkgs_reg_mtime.'('.$this->package_type.'_packages.reg)<br/>';
          if(filemtime($pkgs_src_dir.'.') > $pkgs_reg_mtime){
              if(ZZOSS_INSTALLER_REGISTRY_DEBUG){
***************
*** 1061,1064 ****
--- 1061,1069 ----
          // has something changed in the directory where we store installed packages?
          $pkgs_installed_dir = $this->application_path.$this->package_type.'s_installed'.DIRECTORY_SEPARATOR;
+         /*
+         if(is_dir($pkgs_installed_dir)){
+             echo filemtime($pkgs_installed_dir.'.').'('.$this->package_type.'_installed/) > '.$pkgs_reg_mtime.'('.$this->package_type.'_packages.reg)<br/>';
+         }
+         */
          if(is_dir($pkgs_installed_dir) && filemtime($pkgs_installed_dir.'.') > $pkgs_reg_mtime){
              if(ZZOSS_INSTALLER_REGISTRY_DEBUG){



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click