2 Jan
2009
2 Jan
'09
2:38 a.m.
Xavier wrote:
On Thu, Jan 1, 2009 at 7:16 PM, Allan McRae <allan@archlinux.org> wrote:
Using >= in the provides array is stupid so make it cause an error. Fixes FS#12540.
Also, use bash substitution rather than spawning new processes where possible in the error checking. Move split package detection to a better position.
Only checking for >= looks strange to me, what about all the others : < , >, <=, etc.. Maybe we could simply prevent < and > in the provision, using the same bash substitution than for -.
I figure providing < or <= is sane. I will add the check for >. I can't use bash substitution because this is an array (unless I loop there). Allan