X-Git-Url: http://git.grml.org/?p=grml2usb.git;a=blobdiff_plain;f=grml2usb;h=34ea78af75b5dd51ba881b37884293114bef85e6;hp=0ea7e291f5c01d5ec49d72b266e3a6d5ff7cdef8;hb=4ad3f720d7ebe6040f3cc5129ec11d23a2b640ba;hpb=5d3c18e7f0533bc44ceb3021f8e40707e70ed8b1 diff --git a/grml2usb b/grml2usb index 0ea7e29..34ea78a 100755 --- a/grml2usb +++ b/grml2usb @@ -1,5 +1,4 @@ #!/usr/bin/env python - #include # -*- coding: utf-8 -*- """ grml2usb @@ -20,7 +19,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 +1365,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 +1890,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()