summaryrefslogtreecommitdiff
path: root/config/binary_local-hooks/grub2-theme
diff options
context:
space:
mode:
Diffstat (limited to 'config/binary_local-hooks/grub2-theme')
-rwxr-xr-xconfig/binary_local-hooks/grub2-theme8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/binary_local-hooks/grub2-theme b/config/binary_local-hooks/grub2-theme
index 8fd752a..36464ee 100755
--- a/config/binary_local-hooks/grub2-theme
+++ b/config/binary_local-hooks/grub2-theme
@@ -1,5 +1,13 @@
#!/bin/bash
# copy theme related files to binary
+case "$LB_BOOTLOADER" in
+grub2|burg)
+ ;;
+*)
+ exit 0
+ ;;
+esac
+
mkdir -p binary/boot/grub
cp chroot/usr/share/grub/unicode.pf2 binary/boot/grub/
cp chroot/usr/share/images/grub/kanotix-logo.png binary/boot/grub/