From 1a15b80c8f987cce08cf588f0fae4ccda5a08374 Mon Sep 17 00:00:00 2001 From: Richard Yao Date: Sat, 15 Aug 2015 16:36:48 -0400 Subject: Prefer /boot/grub/grub.cfg Gentoo migrated to /boot/grub/grub.cfg about 18 months ago. Preferring /boot/grub2/grub.cfg will cause us to update the wrong config file. Continue supporting the old location should users run old versions versions. Signed-off-by: Richard Yao --- gen_bootloader.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gen_bootloader.sh') diff --git a/gen_bootloader.sh b/gen_bootloader.sh index b9ec14d..90c3f9b 100755 --- a/gen_bootloader.sh +++ b/gen_bootloader.sh @@ -34,8 +34,8 @@ set_bootloader_grub_read_device_map() { set_bootloader_grub2() { local GRUB_CONF for candidate in \ - "${BOOTDIR}/grub2/grub.cfg" \ "${BOOTDIR}/grub/grub.cfg" \ + "${BOOTDIR}/grub2/grub.cfg" \ ; do if [[ -e "${candidate}" ]]; then GRUB_CONF=${candidate} -- cgit v1.2.3-65-gdbad