Thanks: martin f krafft <madduck@debian.org> for spotting the problem
Closes: #755768
def check_programs():
"""check if all needed programs are installed"""
if options.grub:
def check_programs():
"""check if all needed programs are installed"""
if options.grub:
GRUB_INSTALL = which("grub-install") or which("grub2-install")
if not GRUB_INSTALL:
logging.critical("Fatal: grub-install not available (please install the "
GRUB_INSTALL = which("grub-install") or which("grub2-install")
if not GRUB_INSTALL:
logging.critical("Fatal: grub-install not available (please install the "