Xavier wrote:
On Thu, Jan 1, 2009 at 7:16 PM, Allan McRae <[email protected]> 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


_______________________________________________
pacman-dev mailing list
[email protected]
http://archlinux.org/mailman/listinfo/pacman-dev

Reply via email to