Skip to content

Commit f66889d

Browse files
committed
Include OS version in the GRUB menu.
1 parent 2d49ba9 commit f66889d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

bin/GenGrubConf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ fi
3535
GrepReplace -B /System/Kernel/Devices /dev "$GRUB_DIR/grub.cfg"
3636

3737
# Make the OS string prettier
38-
GrepReplace -B "GoboLinux GNU/Linux" "GoboLinux" "$GRUB_DIR/grub.cfg"
39-
GrepReplace -B "GoboLinux, with Linux[^\'\(]*" "GoboLinux with VESA framebuffer driver" "$GRUB_DIR/grub.cfg"
38+
GOBO_VERSION=$(cat /System/Settings/GoboLinuxVersion)
39+
GrepReplace -B "GoboLinux GNU/Linux" "GoboLinux $GOBO_VERSION" "$GRUB_DIR/grub.cfg"
40+
GrepReplace -B "GoboLinux, with Linux[^\'\(]*" "GoboLinux $GOBO_VERSION with VESA framebuffer driver" "$GRUB_DIR/grub.cfg"
4041
GrepReplace -B "driver(" "driver (" "$GRUB_DIR/grub.cfg"
4142

4243
# All options: Make console UTF-8

0 commit comments

Comments
 (0)