Latest version of script is working to remove /etc/grub.d/30_uefi-firmware for MBR
I have also deleted /etc/grub.d/30_os-prober to get rid of the warning message about os-prober
Most users don’t even know how grub got installed to begin with.
I know that grub is installed to MBR from recent check of calamares on new ISOs
some users can check calamares log
sudo cat /var/log/calamares.log | grep 'grub-install'
but my log is from 2017 and drives have been changed a few time since then
users could also check drive and partition information: inxi -DPa
and other users can also help new users if they have posted system information