[wpkg-users] Make a profile NOT install a certain package?
Stefan Pendl
stefan.pendl.71 at gmail.com
Thu Feb 14 23:47:18 CET 2019
Am 14.02.2019 um 14:47 schrieb Thomas Wootten:
> <profile id="standard">
> <package package-id="firefox" />
> <package package-id="office" />
> </profile>
>
> <profile id="no_office">
> <depends profile-id="standard" />
> <!-- something to make the office package not install -->
> </profile>
Do it the other way around and move office to a separate package, that
depends on the standard profile.
Your default profile should only include the packages that are common to
all hosts.
Instead of adding another profile, you could also use conditions.
<package package-id="office">
<condition>
<check type="logical" condition="not">
<check type="host" condition="os" value="5\.0\.\d{4}"/>
</check>
</condition>
</package>
--
*Stefan P.*
Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
More information about the wpkg-users
mailing list