bash/deb-update.bash: run the grub fix script if it exists

This commit is contained in:
Aminda Suomalainen 2022-09-11 14:10:50 +03:00
parent 46a7838825
commit 4f832ce013
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -103,5 +103,11 @@ if hash needrestart 2>/dev/null; then
needrestart -b
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
set +x