Add debian/NEWS file, update changelog and adjust version number
[grml2usb.git] / grml2usb.py
index c2de631..30abbc6 100755 (executable)
@@ -37,7 +37,7 @@ import logging
 import datetime, time
 
 # global variables
-PROG_VERSION = "0.0.1"
+PROG_VERSION = "0.9.2"
 skip_mbr = True  # hm, can we get rid of that? :)
 mounted = set()  # register mountpoints
 tmpfiles = set() # register tmpfiles
@@ -404,7 +404,11 @@ def install_mbr(device):
     if options.lilo:
         lilo = options.lilo
     else:
-        lilo = '/usr/share/grml2usb/lilo/lilo.static'
+        from platform import architecture
+        if architecture()[0] == '64bit':
+            lilo = '/usr/share/grml2usb/lilo/lilo.static.amd64'
+        else:
+            lilo = '/usr/share/grml2usb/lilo/lilo.static.i386'
 
     if not is_exe(lilo):
         raise Exception, "lilo executable can not be execute"