Re: [wpkg-users] How does check work with upgrades please

2009-10-07 Thread Rainer Meier
simplesi wrote: > Thanks very much for walking me through this :) Always welcome - it might help others too in order to understand the process. br, Rainer - wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/

Re: [wpkg-users] How does check work with upgrades please

2009-10-07 Thread simplesi
Thanks very much for walking me through this :) regards Simon -- View this message in context: http://www.nabble.com/How-does-check-work-with-upgrades-please-tp25781608p25793016.html Sent from the WPKG - Users mailing list archive at Nabble.com. ---

Re: [wpkg-users] How does check work with upgrades please

2009-10-07 Thread Rainer Meier
Hi Simon, simplesi wrote: > wpkg sees the revision increase and jumps straight to the upgrade commands > (just ignores the check statement and assumes the upgrade is needed due to > the revision increase) Yes. > On completion of the upgrade commands(and assuming no errors reported) - > wpkg run

Re: [wpkg-users] How does check work with upgrades please

2009-10-07 Thread simplesi
Good so far then :) So I now increase revision number. wpkg sees the revision increase and jumps straight to the upgrade commands (just ignores the check statement and assumes the upgrade is needed due to the revision increase) On completion of the upgrade commands(and assuming no errors reporte

Re: [wpkg-users] How does check work with upgrades please

2009-10-07 Thread Rainer Meier
Hi Simon, simplesi wrote: > 1st run of package with a simple "does the uninstall exist" check command. > If check command = false (which it would normally be) then install commands > invoked and assuming no errors, check is run again and if check=true then > wpkg assumes package installed. Exactl

Re: [wpkg-users] How does check work with upgrades please

2009-10-07 Thread simplesi
OK - lets see if I've got this :) 1st run of package with a simple "does the uninstall exist" check command. If check command = false (which it would normally be) then install commands invoked and assuming no errors, check is run again and if check=true then wpkg assumes package installed. On su

Re: [wpkg-users] How does check work with upgrades please

2009-10-07 Thread Rainer Meier
Hi Simon, simplesi wrote: > Just a simple question as I've never used checks before :) Nice to see that you're trying to enhance your packages now :-) > Are checks just used for the install command? Checks are used to prove that a package is correctly installed. Preferably checks are fine grai

Re: [wpkg-users] How does check work with upgrades please

2009-10-07 Thread Falko Trojahn
Hi! simplesi schrieb: > Just a simple question as I've never used checks before :) > > Are checks just used for the install command? > No. > Are they ignored when a package revision is incremented and the upgrade > command is executed? > > Or can you have separate check conditions for an upgrad

[wpkg-users] How does check work with upgrades please

2009-10-07 Thread simplesi
Just a simple question as I've never used checks before :) Are checks just used for the install command? Are they ignored when a package revision is incremented and the upgrade command is executed? Or can you have separate check conditions for an upgrade? regards Simon -- View this message i