[zi-cvs] packages/com.zzoss.plugin.lib Plugin.php,1.8,1.9

Sandro Zic <[email protected]> Mon, 22 Mar 2004 08:25:28 +0000
Newsgroups gmane.comp.php.zzoss.installer.cvs
Message-ID <[email protected]>
Update of /cvsroot/zzossinstaller/packages/com.zzoss.plugin.lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16433/com.zzoss.plugin.lib

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

Index: Plugin.php
===================================================================
RCS file: /cvsroot/zzossinstaller/packages/com.zzoss.plugin.lib/Plugin.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** Plugin.php	18 Mar 2004 11:10:24 -0000	1.8
--- Plugin.php	22 Mar 2004 08:25:24 -0000	1.9
***************
*** 533,537 ****
          $GLOBALS['ZI']['file_src'] = ZZOSS_InstallerUtils::fixPath($GLOBALS['ZI']['package_src'].$this->file['@']['name']);
          
!         $GLOBALS['ZI']['file_dest'] = ZZOSS_InstallerUtils::fixPath($GLOBALS['ZI']['package_baseinstalldir'].$this->file['@']["baseinstalldir"].DIRECTORY_SEPARATOR.$this->file['@']["name"]);
          
          if(isset($this->file['@']['role'])){
--- 533,544 ----
          $GLOBALS['ZI']['file_src'] = ZZOSS_InstallerUtils::fixPath($GLOBALS['ZI']['package_src'].$this->file['@']['name']);
          
!         $GLOBALS['ZI']['file_name_dest'] = $this->file['@']["name"];
!         if(isset($this->file['@']["save-as"])){
!             $GLOBALS['ZI']['file_name_dest'] = $this->file['@']["save-as"];
!         }
!         if(isset($this->file['@']["install-as"])){
!             $GLOBALS['ZI']['file_name_dest'] = $this->file['@']["install-as"];
!         }
!         $GLOBALS['ZI']['file_dest'] = ZZOSS_InstallerUtils::fixPath($GLOBALS['ZI']['package_baseinstalldir'].$this->file['@']["baseinstalldir"].DIRECTORY_SEPARATOR.$GLOBALS['ZI']['file_name_dest']);
          
          if(isset($this->file['@']['role'])){



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