mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-01-10 20:32:33 +01:00
Compare commits
2 Commits
46a7838825
...
c2ae326994
Author | SHA1 | Date | |
---|---|---|---|
c2ae326994 | |||
4f832ce013 |
@ -103,5 +103,11 @@ if hash needrestart 2>/dev/null; then
|
|||||||
needrestart -b
|
needrestart -b
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Sedric workaround, located in this repo. I trust /root/
|
||||||
|
if [ -f /root/fixgrub.bash ]
|
||||||
|
then
|
||||||
|
/root/fixgrub.bash
|
||||||
|
fi
|
||||||
|
|
||||||
# Hide commands being executed again
|
# Hide commands being executed again
|
||||||
set +x
|
set +x
|
||||||
|
@ -5,8 +5,12 @@
|
|||||||
# me what is going on. This is an ugly workaround.
|
# me what is going on. This is an ugly workaround.
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
# TODO: If this is to become more sophisciated and check for Fedora
|
|
||||||
# detect based on /boot/efi/EFI/fedora/grub.cfg, not rpmsave?
|
# This script is Fedora specific.
|
||||||
rm -f /boot/efi/EFI/fedora/grub.cfg.rpmsave
|
if [ -f /boot/efi/EFI/fedora/grub.cfg ]
|
||||||
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
|
then
|
||||||
|
rm -f /boot/efi/EFI/fedora/grub.cfg.rpmsave
|
||||||
|
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
|
||||||
|
fi
|
||||||
|
|
||||||
set +x
|
set +x
|
||||||
|
Loading…
Reference in New Issue
Block a user