install.sh improvement + typo fixes
added update_grub function which checks the grub commands, this is used couple of times, instead of hardcoding the check.
added update_grub function which checks the grub commands, this is used couple of times, instead of hardcoding the check.