File grub2-enable-theme-for-terminal-window.patch of Package grub2

--- a/util/grub.d/00_header.in	2012-03-27 21:45:08.992732967 -0400
+++ b/util/grub.d/00_header.in	2012-03-27 21:45:08.992732967 -0400
@@ -253,8 +253,9 @@
 set theme=(\$root)`make_system_path_relative_to_its_root $GRUB_THEME`
 export theme
 EOF
-    elif [ "x$GRUB_BACKGROUND" != x ] && [ -f "$GRUB_BACKGROUND" ] \
-	    && is_path_readable_by_grub "$GRUB_BACKGROUND"; then
+    fi
+    if [ "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 
 	    *.png)         reader=png ;;
openSUSE Build Service is sponsored by