Fix logic of isohybrid execution if uefi option is not supported
authorMichael Prokop <mika@grml.org>
Fri, 7 Feb 2014 17:37:01 +0000 (18:37 +0100)
committerMichael Prokop <mika@grml.org>
Fri, 7 Feb 2014 17:37:32 +0000 (18:37 +0100)
This fixes a problem which makes all 32bit Grml systems
unbootable via grml2iso because uefi isn't supported there.

grml2iso

index a3bab29..43f57c1 100755 (executable)
--- a/grml2iso
+++ b/grml2iso
@@ -293,10 +293,10 @@ Options:
       echo "isohybrid version supports --uefi option"
       ISOHYBRID_OPTIONS=--uefi
     fi
-
-    echo "Creating dd-able ISO using isohybrid"
-    isohybrid $ISOHYBRID_OPTIONS "$ISOFILE"
   fi
+
+  echo "Creating dd-able ISO using isohybrid"
+  isohybrid $ISOHYBRID_OPTIONS "$ISOFILE"
 # }}}
 
 # cleanup {{{