X-Git-Url: http://git.grml.org/?p=grml2usb.git;a=blobdiff_plain;f=grml2usb;h=ef6a554e89e261504ec353b45a076a399bddeadc;hp=b7f1207d7aa9dd52dd30331efddb59cee6cc1074;hb=09300f0e536f2821756f21135283eebc0441c82c;hpb=1cb2e6a6e20f2905d0aa47016757903bab99061d diff --git a/grml2usb b/grml2usb index b7f1207..ef6a554 100755 --- a/grml2usb +++ b/grml2usb @@ -1727,6 +1727,7 @@ def check_options(opts): def check_programs(): """check if all needed programs are installed""" if options.grub: + global GRUB_INSTALL GRUB_INSTALL = which("grub-install") or which("grub2-install") if not GRUB_INSTALL: logging.critical("Fatal: grub-install not available (please install the "