Keep unused grub_ckb.sh script up to date

This commit is contained in:
Le0xFF 2022-09-05 19:25:10 +02:00
parent 9fa24125a6
commit 1e9b3577e8

View File

@ -2,11 +2,10 @@
#
# Create grubx64.efi containing custom keyboard layout
# Requires: ckbcomp, grub2, xkeyboard-config
# Goes into: /etc/kernel.d/post-install/<ScriptName>
#
if [ ! -f /boot/efi/EFI/$bootloader_id/ORIG_grubx64.efi_ORIG ] ; then
if [ ! -f /boot/efi/EFI/$bootloader_id/grubx64.efi ] ; then
if [ ! -d /boot/grub/ ] || [ ! -f /boot/efi/EFI/$bootloader_id/grubx64.efi ] ; then
echo -e -n "\nFIle /boot/efi/EFI/$bootloader_id/grubx64.efi not found, install GRUB2 first!\n"
exit 1
else