Merge pull request #198 from anandusateeshNSUT/master

Fixed directory issues for fedora in the install.sh itself
This commit is contained in:
Vince 2023-07-22 02:32:45 +08:00 committed by GitHub
commit 20c00af363
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -77,6 +77,9 @@ EOF
generate() {
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
THEME_DIR='/boot/grub/themes'
elif [[ -d "/boot/grub2" ]]; then