On Tue, Jun 17, 2008 at 10:20:59PM +1000, Allan McRae <[EMAIL PROTECTED]> wrote:
> Just another thought.  Why do we even need the subpkg array.  Why not:  
> "pkgname=foo" for single packages and "pkgname=('foo' 'foo-bar' 
> 'foo-doc')" for split packages?  I would have to check that you can do 
> that in bash...

pkgname=("foo") is equivalent to pkgname="foo" in bash, at least

${pkgname[0]} will work for both, [EMAIL PROTECTED] will report 1 for both,
etc.

Attachment: pgpbdrezbvs2d.pgp
Description: PGP signature

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

Reply via email to