mirror of
https://github.com/vinceliuice/grub2-themes.git
synced 2026-03-14 00:14:03 +08:00
Fixed directory issues
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user