projects
/
grml2usb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1cb2e6a
)
Fix usage of grub-install command
author
Michael Prokop
<mika@grml.org>
Mon, 11 Aug 2014 20:06:57 +0000
(22:06 +0200)
committer
Michael Prokop
<mika@grml.org>
Mon, 11 Aug 2014 20:06:57 +0000
(22:06 +0200)
Thanks: martin f krafft <madduck@debian.org> for spotting the problem
Closes: #755768
grml2usb
patch
|
blob
|
history
diff --git
a/grml2usb
b/grml2usb
index
b7f1207
..
ef6a554
100755
(executable)
--- 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 "