<br><tt><font size=2>wpkg-users-bounces@lists.wpkg.org wrote on 21.02.2013
20:42:45:<br>
<br>
> From: Rob Bos <rbos-wpkg@novylen.net></font></tt>
<br><tt><font size=2>> To: wpkg-users@lists.wpkg.org, </font></tt>
<br><tt><font size=2>> Date: 21.02.2013 20:44</font></tt>
<br><tt><font size=2>> Subject: Re: [wpkg-users] trouble with check
conditions</font></tt>
<br><tt><font size=2>> Sent by: wpkg-users-bounces@lists.wpkg.org</font></tt>
<br><tt><font size=2>> <br>
> <br>
> My gnawing suspicion is that this isn't possible, that WPKG evaluates
<br>
> all the check conditions before running any install commands, in which
<br>
> case, the install commands included are set in stone and you can't
<br>
> branch within a package.</font></tt>
<br>
<br><tt><font size=2>oh yes you can - </font></tt>
<br>
<br><tt><font size=2><package id=test...></font></tt>
<br>
<br><tt><font size=2><install cmd='install base package'></font></tt>
<br><tt><font size=2>        <condition></font></tt>
<br><tt><font size=2>           
    <check if base package is not installed></font></tt>
<br><tt><font size=2>        </condition></font></tt>
<br><tt><font size=2></install></font></tt>
<br>
<br><tt><font size=2></package></font></tt>
<br>
<br>
<br><tt><font size=2>if you have more then one command, use the <commands>
syntax.</font></tt>
<br>
<br><tt><font size=2>you could of course just use two packages and depend
the patch package on the base package. Though when the base package updates
you might have to keep a dummy patch package.</font></tt>
<br>
<br><tt><font size=2>Best Regards</font></tt>
<br><tt><font size=2>        Heiko</font></tt>