Fixed directory issues

This commit is contained in:
anandusateesh 2023-07-21 23:07:59 +05:30 committed by GitHub
parent 8d2f2e17b8
commit 5a9e5b58a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,6 +77,9 @@ EOF
generate() { generate() {
if [[ "${install_boot}" == 'true' ]]; then if [[ "${install_boot}" == 'true' ]]; then
if [[ -d "/boot/efi/EFI/fedora" ]]; then
THEME_DIR='/boot/efi/EFI/fedora/themes'
fi
if [[ -d "/boot/grub" ]]; then if [[ -d "/boot/grub" ]]; then
THEME_DIR='/boot/grub/themes' THEME_DIR='/boot/grub/themes'
elif [[ -d "/boot/grub2" ]]; then elif [[ -d "/boot/grub2" ]]; then