[wpkg-users] profile question

Natxo Asenjo natxo.asenjo at gmail.com
Fri Feb 18 14:27:54 CET 2011


On Fri, Feb 18, 2011 at 2:09 PM, Falko Trojahn
<nospam_ft at smi-softmark.de> wrote:
> Hi,
>
> On 18.02.2011 10:22, wrote Natxo Asenjo:
>> hi,
>>
>> is it possible to apply a profile depending on the result of a command?
> I think this should be possible with recent wpkg.js versions:
>
> - create a package "checkpkg" which has one (or more) "execute" check(s)
>  http://wpkg.org/Packages.xml#Execute
>
> - create a profile (or package) which depends first on this "checkpkg"
>
> -> the profile only gets installed when checkpkg is installed,
>     which is only installed when the execute check returns true ...

I like it :-)

I will test this next week at work and keep the list posted. Thanks!

-- 
natxo



More information about the wpkg-users mailing list