[wpkg-users] Determine profile based on hardware quirks?

Stefan Pendl stefan.pendl.71 at gmail.com
Mon Jan 19 09:21:08 CET 2015


Am 19.01.2015 um 09:16 schrieb Marco Gaiarin:
> Mandi! Stefan Pendl
>    In chel di` si favelave...
>
>> I use it for an include inside of a package, but conditions are
>> supported everywhere, where you can use extended host matching.
>> You can use it where ever you see fit.
> ...probably i've looked in the wrong place, or for wrong keyword in
> changelog.
>
>    <profile id="test">
>
>      [...]
>
>      <package id="7tweaks-ssd" >
>        <condition>
>          <check type="execute" condition="exitcodeequalto" path="%WPKG_ROOT%\tools\IsSystemSSD.cmd" value="0" />
>        </condition>
>      </package />
>
>      [...]
>
>    </profile>
>
> right? Thanks.
>

Yes, but </package /> must be </package> ;-)

Make sure you use a XML editor with validation capability.


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