From 48eca95a2655443d0350fa5869ceaf54695abc0a Mon Sep 17 00:00:00 2001 From: Kevin Kofler Date: Sun, 16 Nov 2014 05:18:11 +0100 Subject: [PATCH] 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. --- src/modules/grubcfg/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/grubcfg/main.py b/src/modules/grubcfg/main.py index 01a15fe61..3e3ad81f0 100644 --- a/src/modules/grubcfg/main.py +++ b/src/modules/grubcfg/main.py @@ -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)