Craig Mohrman wrote:

> Do we have an example, or a technique, of installing 1 package
> exclusive of another?
> 
> Let's say I have 2 packages:
> 
> apache-php52
> apache-php53
> 
> How do I ensure that only 1 of them can be installed?

In apache-php52.p5m:

    depend type=exclude fmri=web/server/apache-22/plugin/plugin-php53

and in apache-php53.p5m:

    depend type=exclude fmri=web/server/apache-22/plugin/plugin-php52

though I'd question why the two can't coexist.

Danek
_______________________________________________
userland-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/userland-discuss

Reply via email to