[wpkg-users] trouble with check conditions
heiko.helmle at horiba.com
heiko.helmle at horiba.com
Fri Feb 22 08:34:25 CET 2013
wpkg-users-bounces at lists.wpkg.org wrote on 21.02.2013 20:42:45:
> From: Rob Bos <rbos-wpkg at novylen.net>
> To: wpkg-users at lists.wpkg.org,
> Date: 21.02.2013 20:44
> Subject: Re: [wpkg-users] trouble with check conditions
> Sent by: wpkg-users-bounces at lists.wpkg.org
>
>
> My gnawing suspicion is that this isn't possible, that WPKG evaluates
> all the check conditions before running any install commands, in which
> case, the install commands included are set in stone and you can't
> branch within a package.
oh yes you can -
<package id=test...>
<install cmd='install base package'>
<condition>
<check if base package is not installed>
</condition>
</install>
</package>
if you have more then one command, use the <commands> syntax.
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.
Best Regards
Heiko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20130222/3fa1ec9f/attachment-0003.html>
More information about the wpkg-users
mailing list