Re: [wpkg-users] Negative Dependency

2012-10-26 Thread Stefan Pendl
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

Re: [wpkg-users] Negative Dependency

2012-10-26 Thread Geoff Brown
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

Re: [wpkg-users] Negative Dependency

2012-10-26 Thread Stefan Pendl
Am 26.10.2012 20:43, schrieb Geoff Brown: 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

Re: [wpkg-users] Negative Dependency

2012-10-26 Thread Carlos R. Pasqualini
El vie, 26-10-2012 a las 20:56 +0200, Stefan Pendl escribió: Am 26.10.2012 20:43, schrieb Geoff Brown: 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

Re: [wpkg-users] Negative Dependency

2012-10-26 Thread Stefan Pendl
Am 26.10.2012 21:26, schrieb Carlos R. Pasqualini: Thank you guys but it's not exactly what i mean... As i can see you are saying: 'this package depends on libreoffice unless msoffice is installed' If MS Office is removed, then Libre Office is installed, that was what you asked. I don't

Re: [wpkg-users] Negative Dependency

2012-10-26 Thread Carlos R. Pasqualini
El vie, 26-10-2012 a las 21:37 +0200, Stefan Pendl escribió: Am 26.10.2012 21:26, schrieb Carlos R. Pasqualini: Thank you guys but it's not exactly what i mean... As i can see you are saying: 'this package depends on libreoffice unless msoffice is installed' If MS Office is

Re: [wpkg-users] Negative Dependency

2012-10-26 Thread Stefan Pendl
Am 26.10.2012 22:07, schrieb Carlos R. Pasqualini: yes, but you put it on another package's dependencies... i want a way to say 'libreoffice conflicts with msoffice' in the libreoffice package definition, and 'msoffice conflicts with libreoffice' on the msoffice definition. So the check