[zi-cvs] packages/com.zzoss.installer.lib Registry.php,1.16,1.17

Sandro Zic <[email protected]> Mon, 22 Mar 2004 08:25:26 +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-serv16433/com.zzoss.installer.lib

Modified Files:
	Registry.php 
Log Message:
hide reset script only when explicitly specified (aka show it on first installation of dev app)

Index: Registry.php
===================================================================
RCS file: /cvsroot/zzossinstaller/packages/com.zzoss.installer.lib/Registry.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** Registry.php	18 Mar 2004 09:41:38 -0000	1.16
--- Registry.php	22 Mar 2004 08:25:22 -0000	1.17
***************
*** 1602,1606 ****
          $packages_application = array();
          $application = $this->getApplication();
!         if(is_array($application["release"][$this->package_type."s"][$this->package_type])) {
              foreach($application["release"][$this->package_type."s"][$this->package_type] as $package) {
                  $packages_application[$package["@"]["name"].'-'.$package["@"]["version"]] = $package;
--- 1602,1608 ----
          $packages_application = array();
          $application = $this->getApplication();
!         if(
!             isset($application["release"][$this->package_type."s"][$this->package_type]) &&
!             is_array($application["release"][$this->package_type."s"][$this->package_type])) {
              foreach($application["release"][$this->package_type."s"][$this->package_type] as $package) {
                  $packages_application[$package["@"]["name"].'-'.$package["@"]["version"]] = $package;



-------------------------------------------------------
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