1
Index: b/util/grub-install.in
2
===================================================================
3
--- a/util/grub-install.in
4
+++ b/util/grub-install.in
6
if test -f "${sysconfdir}/default/grub" ; then
7
. "${sysconfdir}/default/grub"
9
+for x in "${sysconfdir}/default/grub.d"/*.cfg ; do
10
+ if [ -e "${x}" ]; then
15
bootloader_id="$(echo "$GRUB_DISTRIBUTOR" | tr 'A-Z' 'a-z' | cut -d' ' -f1)"
16
if test -z "$bootloader_id"; then
17
Index: b/util/grub-mkconfig.in
18
===================================================================
19
--- a/util/grub-mkconfig.in
20
+++ b/util/grub-mkconfig.in
22
if test -f ${sysconfdir}/default/grub ; then
23
. ${sysconfdir}/default/grub
25
+for x in ${sysconfdir}/default/grub.d/*.cfg ; do
26
+ if [ -e "${x}" ]; then
31
# XXX: should this be deprecated at some point?
32
if [ "x${GRUB_TERMINAL}" != "x" ] ; then