mirror of
https://github.com/vinceliuice/grub2-themes.git
synced 2024-12-25 19:15:35 +01:00
chore: changed mkconfig directory to boot/grub2/grub.cfg
This commit is contained in:
parent
179e2c21a1
commit
0d7ea30481
@ -347,9 +347,9 @@ updating_grub() {
|
|||||||
grub2-mkconfig -o /boot/grub2/grub.cfg
|
grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||||
# Check for Fedora (regular or Atomic)
|
# Check for Fedora (regular or Atomic)
|
||||||
elif has_command dnf || has_command rpm-ostree; then
|
elif has_command dnf || has_command rpm-ostree; then
|
||||||
if [[ -f /etc/grub2.cfg ]]; then
|
if [[ -f /boot/grub2/grub.cfg ]]; then
|
||||||
prompt -s "Find config file on /etc/grub2.cfg ...\n"
|
prompt -s "Find config file on /boot/grub2/grub.cfg ...\n"
|
||||||
grub2-mkconfig -o /etc/grub2.cfg
|
grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||||
fi
|
fi
|
||||||
# Check for Bios
|
# Check for Bios
|
||||||
if [[ -f /boot/grub2/grub.cfg ]]; then
|
if [[ -f /boot/grub2/grub.cfg ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user