[wpkg-users] Conditional depends?

Stefan Pendl stefan.pendl.71 at gmail.com
Tue Jan 8 22:44:47 CET 2019


Am 08.01.2019 um 12:16 schrieb Marco Gaiarin:
> 
> Can i use a conditional 'depends' clause? eg a package that depends on
> a package OR another package?
> 
> Thanks.
> 

You can do the following:

<depends>
	<condition>
		<check />
	</condition>
</depends>

This allows to specify that a dependency is only applied if a condition 
is true.

"<depends /> or <depends />" is not possible in my opinion.


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