[wpkg-users] On remove only the first check is executed

2009-06-18 Thread Pendl Stefan
Hi Rainer, if I have four checks defined and a package is removed, only the first check is executed, if it returns a positive result, the additional three checks are not executed. Is this by design? On install all checks are executed. --- Stefan

Re: [wpkg-users] On remove only the first check is executed

2009-06-18 Thread Pendl Stefan
Pendl Stefan wrote: Hi Rainer, if I have four checks defined and a package is removed, only the first check is executed, if it returns a positive result, the additional three checks are not executed. Is this by design? On install all checks are executed.

Re: [wpkg-users] On remove only the first check is executed

2009-06-18 Thread Rainer Meier
Hi Stefan, Pendl Stefan wrote: Hi Rainer, if I have four checks defined and a package is removed, only the first check is executed, if it returns a positive result, the additional three checks are not executed. Is this by design? It's actually an optimization. Let's explain...

Re: [wpkg-users] On remove only the first check is executed

2009-06-18 Thread Pendl Stefan
Pendl Stefan wrote: Rainer, thanks for clearing this up, so it is behaving like C and so forth, if the right-most condition returns a negative result skip the rest. - This should be left-most, time to go home ... ---