grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Allow background to be set when theme is set
@ 2024-06-13 15:28 Lin via Grub-devel
  0 siblings, 0 replies; only message in thread
From: Lin via Grub-devel @ 2024-06-13 15:28 UTC (permalink / raw
  To: grub-devel; +Cc: Lin

[-- Attachment #1: Type: text/html, Size: 679 bytes --]

[-- Attachment #2: 00_header.in.patch --]
[-- Type: text/x-patch, Size: 577 bytes --]

diff --git a/util/grub.d/00_header.in b/util/grub.d/00_header.in
index 4e8f25702..f86b69bad 100644
--- a/util/grub.d/00_header.in
+++ b/util/grub.d/00_header.in
@@ -263,9 +263,7 @@ EOF
 set theme=(\$root)`make_system_path_relative_to_its_root $GRUB_THEME`
 export theme
 EOF
-    fi
-
-    if [ "x$GRUB_BACKGROUND" != x ] && [ -f "$GRUB_BACKGROUND" ] \
+    elif [ "x$GRUB_BACKGROUND" != x ] && [ -f "$GRUB_BACKGROUND" ] \
 	    && is_path_readable_by_grub "$GRUB_BACKGROUND"; then
 	gettext_printf "Found background: %s\n" "$GRUB_BACKGROUND" >&2
 	case "$GRUB_BACKGROUND" in 

[-- Attachment #3: Type: text/plain, Size: 141 bytes --]

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-06-13 16:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-13 15:28 [PATCH] Allow background to be set when theme is set Lin via Grub-devel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).