[arch-releng] [PATCH 3/3] Prompt user to pick a bootloader in interactive_select_packages and select the proper package for installation.

Dieter Plaetinck dieter at plaetinck.be
Tue Feb 22 07:47:09 EST 2011


Matthew,
how about making supported bootloaders an associative array, key being
the package name, and value the description?
(in the description for syslinux you can then reference
syslinux_supported_fs)
there are some examples of associative arrays in
lib-blockdevices-filesystems.sh
you can as easily collect the keys (IIRC use [@] instead of [*] or
something) as the values themselves, I do this in some places in aif,
but google can tell you aswell.

Dieter


More information about the arch-releng mailing list