diff --git a/bash/deb-update.bash b/bash/deb-update.bash index d622a4d..05ac4b3 100755 --- a/bash/deb-update.bash +++ b/bash/deb-update.bash @@ -151,11 +151,6 @@ if hash checkservices 2> /dev/null; then sleep 5 fi -# Sedric workaround, located in this repo. I trust /root/ -if [ -f /root/fixgrub.bash ]; then - . /root/fixgrub.bash -fi - if [[ -f /usr/bin/rpm-ostree && -d /sysroot/ostree ]]; then rpm-ostree upgrade --check sleep 5 diff --git a/bash/fixgrub.bash b/bash/fixgrub.bash deleted file mode 100755 index 9023ca1..0000000 --- a/bash/fixgrub.bash +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/env bash - -# Theoretically this should never run -# READ https://fedoraproject.org/wiki/GRUB_2 !!!!! - -set -x - -# Fedora < 34 -#if [ -f /boot/efi/EFI/fedora/grub.cfg.rpmsave ]; then -# rm -f /boot/efi/EFI/fedora/grub.cfg.rpmsave -# grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg -#fi - -# There is no reason to run if dnf hasn't moved the proper config aside. -if [ -f /etc/grub2.cfg.rpmsave ]; then - rm -f /etc/grub2.cfg.rpmsave - grub2-mkconfig -o /etc/grub2.cfg -fi - -# There is no reason to run if dnf hasn't moved the proper config aside. -if [ -f /etc/grub2-efi.cfg.rpmsave ]; then - rm -f /etc/grub2-efi.cfg.rpmsave - grub2-mkconfig -o /etc/grub2-efi.cfg -fi - -# There is no reason to run if dnf hasn't moved the proper config aside. -# Legacy boot method for grub update. -# if [ -f /boot/grub2/grub.cfg.rpmsave ]; then -# rm -f /boot/grub2/grub.cfg.rpmsave -# grub2-mkconfig -o /boot/grub2/grub.cfg -# fi - -set +x