summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 17:30:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 17:30:34 +0000
commit4689ba104dedd53c722618924bab0bedca1c6812 (patch)
tree2d2ebe8c1ba427dcb21fbb6fbd1cfcc54c0c06ad
parentReplacing appending of 'with Linux' with 'with kernel' in boot menu. (diff)
downloadgrub2-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>
-rw-r--r--debian/default/grub4
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=""