grubcfg: Use shortProductName.

This is particularly useful if the full product name contains
"GNU/Linux" or "Linux", because e.g. "Generic GNU/Linux GNU/Linux" does
not make sense.
This commit is contained in:
Kevin Kofler 2014-11-16 05:18:11 +01:00
parent e420341ba6
commit 48eca95a26

View File

@ -67,5 +67,5 @@ def run():
partitions = libcalamares.globalstorage.value("partitions")
root_mount_point = libcalamares.globalstorage.value("rootMountPoint")
branding = libcalamares.globalstorage.value("branding")
distributor = branding["productName"]
distributor = branding["shortProductName"]
return modify_grub_default(partitions, root_mount_point, distributor)