Reposted from Stefan (as an example): '---code start (watch for line wraps)
<package id="Java" name="Java" revision="2011.10.22" reboot="false" priority="10" execute="once"> <include package-id="JRE6" os="5\.0\.\d{4}"/> <include package-id="JRE7"> <condition> <check type="logical" condition="not"> <check type="host" condition="os" value="5\.0\.\d{4}"/> </check> </condition> </include> </package> '---code end On Oct 26, 2012, at 10:57 AM, Stefan Pendl wrote: > Am 26.10.2012 15:22, schrieb Carlos R. Pasqualini: >> Hi there >> >> Is there a way to specify a negative dependency in the package >> definition >> >> i want to say: >> "if package XY is found (installed), then do not even try to install >> this package, just wait to wpkg to remove the other package, try again >> on next reboot" >> >> can we do something like that? >> > > Yes, by adding a condition to the dependency. There has been something posted > a while ago in this regard. > > > -- > 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? > ------------------------------------------------------------------------- > wpkg-users mailing list archives >> > http://lists.wpkg.org/pipermail/wpkg-users/ > _______________________________________________ > wpkg-users mailing list > wpkg-users@lists.wpkg.org > http://lists.wpkg.org/mailman/listinfo/wpkg-users --- Geoff Brown IT Services, SFU Surrey Campus Phone : 778-782-7472 Cellular: 604-786-7757 IM: geoff...@jabber.sfu.ca _______________________ Simon Fraser University Surrey 250 - 13450 102nd Avenue Surrey, BC V3T 0A3 ------------------------------------------------------------------------- wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/ _______________________________________________ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users