X-Git-Url: https://git.grml.org/?p=grml2usb.git;a=blobdiff_plain;f=grml2usb;h=9e2b668a9ca41fdc6e9a1431fdd5e3db8c23d7f2;hp=06a8f8a013f8fdaa0b8f260994817c0fa6210273;hb=8dcfa249bb0f0c4376a382e5b36fd39dd3dce256;hpb=8cf11c36489db9467a234816a1aeb6d2e9cc6342 diff --git a/grml2usb b/grml2usb index 06a8f8a..9e2b668 100755 --- a/grml2usb +++ b/grml2usb @@ -20,7 +20,7 @@ import fileinput import glob # global variables -PROG_VERSION = "0.9.15" +PROG_VERSION = "0.9.17-pre1" MOUNTED = set() # register mountpoints TMPFILES = set() # register tmpfiles DATESTAMP = time.mktime(datetime.datetime.now().timetuple()) # unique identifier for syslinux.cfg @@ -1222,8 +1222,8 @@ def install_iso_files(grml_flavour, iso_mount, device, target): sys.exit(1) if not options.skipaddons: - if grml_flavour.endswith('-small'): - logging.info("Note: grml-small doesn't provide any addons, not installing them therefore.") + if not search_file('addons', iso_mount): + logging.info("Could not find addons, therefore not installing.") else: copy_addons(iso_mount, target)