[wpkg-users] Conditional depends?
Stefan Pendl
stefan.pendl.71 at gmail.com
Sat Jan 12 01:21:24 CET 2019
Am 10.01.2019 um 09:57 schrieb Marco Gaiarin:
> Mandi! Stefan Pendl
> In chel di` si favelave...
>
>>> There's some way to write a stricter matches?
>> I have the following flash player package that manages active-x only on Win7
>> and below:
>
> Ok, so rewriting condition for depends, would be:
>
> <!-- Package depends always on Flash Plugin (FF) -->
> <depends package-id="flashplugin" />
> <!-- Package depends on Flash ActiveX only on OS < Win10 -->
> <depends package-id="flash" >
> <condition>
> <check type="host" condition="os" value="(5\.\d|6\.[01])\.\d{4}" />
> </condition>
> </depends>
>
> Right?
>
Yes, this works, no need for space or whatever, since there is currently
no O/S like 15.n or 16.n
--
*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