[wpkg-users] profile question

Falko Trojahn nospam_ft at smi-softmark.de
Fri Feb 18 14:09:51 CET 2011


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 ...

HTH
Falko




More information about the wpkg-users mailing list