Also set GRML_DEFAULT when running with --dry-run. Thanks to Moritz
authorUlrich Dangel <uli@spamt.net>
Wed, 4 Nov 2009 09:49:50 +0000 (10:49 +0100)
committerUlrich Dangel <uli@spamt.net>
Wed, 4 Nov 2009 09:49:50 +0000 (10:49 +0100)
Augsburger for his report.

grml2usb

index 361e6a0..35c7225 100755 (executable)
--- a/grml2usb
+++ b/grml2usb
@@ -1220,6 +1220,8 @@ def install_iso_files(grml_flavour, iso_mount, device, target):
     # * catch "install: .. No space left on device" & CO
 
     if options.dryrun:
+        global GRML_DEFAULT
+        GRML_DEFAULT = grml_flavour
         return 0
     elif not options.bootloaderonly:
         logging.info("Copying files. This might take a while....")