X-Git-Url: https://git.grml.org/?p=grml2usb.git;a=blobdiff_plain;f=grml2usb;h=e3d65675f5c203719b7648672b224410e4743f03;hp=0ea7e291f5c01d5ec49d72b266e3a6d5ff7cdef8;hb=120f97816743e8270c52389f9c016aeb698f1792;hpb=5d3c18e7f0533bc44ceb3021f8e40707e70ed8b1 diff --git a/grml2usb b/grml2usb index 0ea7e29..e3d6567 100755 --- a/grml2usb +++ b/grml2usb @@ -20,7 +20,7 @@ import datetime, logging, os, re, subprocess, sys, tempfile, time, os.path import fileinput # global variables -PROG_VERSION = "0.9.13" +PROG_VERSION = "0.9.14" MOUNTED = set() # register mountpoints TMPFILES = set() # register tmpfiles DATESTAMP = time.mktime(datetime.datetime.now().timetuple()) # unique identifier for syslinux.cfg @@ -1366,7 +1366,7 @@ def handle_grub2_config(grml_flavour, grub_target, bootopt): def handle_grub_config(grml_flavour, device, target): - """Main handler for generati3g grub (v1 and v2) configuration + """Main handler for generating grub (v1 and v2) configuration @grml_flavour: name of grml flavour the configuration should be generated for @device: device/partition where grub should be installed to @@ -1891,6 +1891,7 @@ def main(): # finally be politely :) logging.info("Finished execution of grml2usb (%s). Have fun with your grml system.", PROG_VERSION) + if __name__ == "__main__": try: main()