diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 17:30:34 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 17:30:34 +0000 |
commit | 4689ba104dedd53c722618924bab0bedca1c6812 (patch) | |
tree | 2d2ebe8c1ba427dcb21fbb6fbd1cfcc54c0c06ad /debian | |
parent | Replacing appending of 'with Linux' with 'with kernel' in boot menu. (diff) | |
download | grub2-4689ba104dedd53c722618924bab0bedca1c6812.tar.xz grub2-4689ba104dedd53c722618924bab0bedca1c6812.zip |
Setting Progress Linux as distributor name when not using lsb-release.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/default/grub | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/default/grub b/debian/default/grub index 7617f01..247497b 100644 --- a/debian/default/grub +++ b/debian/default/grub @@ -3,9 +3,11 @@ # For full documentation of the options in this file, see: # info -f grub -n 'Simple configuration' +LSB_VENDOR="$(lsb_release -i -s 2> /dev/null || echo Progress Linux)" + GRUB_DEFAULT=0 GRUB_TIMEOUT=@DEFAULT_TIMEOUT@ -GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` +GRUB_DISTRIBUTOR="$LSB_VENDOR" GRUB_CMDLINE_LINUX_DEFAULT="@DEFAULT_CMDLINE@" GRUB_CMDLINE_LINUX="" |