mirror of
https://github.com/vinceliuice/grub2-themes.git
synced 2024-11-16 21:15:39 +01:00
Fixed openSUSE issues
This commit is contained in:
parent
a17983d9f6
commit
906cdd615c
@ -123,8 +123,12 @@ install() {
|
|||||||
elif has_command grub-mkconfig; then
|
elif has_command grub-mkconfig; then
|
||||||
grub-mkconfig -o /boot/grub/grub.cfg
|
grub-mkconfig -o /boot/grub/grub.cfg
|
||||||
elif has_command grub2-mkconfig; then
|
elif has_command grub2-mkconfig; then
|
||||||
|
if [ $(which zypper &>/dev/null) ]; then
|
||||||
|
grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||||
|
elif [ $(which dnf &>/dev/null) ]; then
|
||||||
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
|
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# Success message
|
# Success message
|
||||||
prompt -s "\n * All done!"
|
prompt -s "\n * All done!"
|
||||||
|
Loading…
Reference in New Issue
Block a user