Comment 10 for bug 2034253

Revision history for this message
Julian Andres Klode (juliank) wrote :

That advise is incorrect, because GRUB_DISTRIBUTOR is the human-readable name. grub also mangles it to a machine-readable name because it doesn't have two vars, but still.

The mangling is:

$(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' ' -f1 | LC_ALL=C sed 's,[^[:alnum:]_],_,g')