mirror of https://github.com/cutefishos/calamares
[grubcfg] Update GRUB_DISTRIBUTION as needed
- Previous fix would erase the distribution information (using an empty string to flag 'preserve existing GRUB_DISTRIBUTION lines'), but that is fragile. A distro might set that, and yet **not** set a GRUB_DISTRIBUTION line, in which case it would end up with a setup without any GRUB_DISTRIBUTION set. - When a GRUB_DISTRIBUTION line is found, **then** check if it should update the line or not. This way, we have a suitable distribution to write if no GRUB_DISTRIBUTION is found at all.main
parent
ac3b50fabb
commit
c6c861654d
Loading…
Reference in New Issue