X-Git-Url: http://git.grml.org/?p=grml2usb.git;a=blobdiff_plain;f=grml2usb;h=6455aacecb87b8983b557ac4508990bc22d93125;hp=06a8f8a013f8fdaa0b8f260994817c0fa6210273;hb=85933b53da2988f8fe263062fe4dbbfd83a211ff;hpb=8cf11c36489db9467a234816a1aeb6d2e9cc6342 diff --git a/grml2usb b/grml2usb index 06a8f8a..6455aac 100755 --- a/grml2usb +++ b/grml2usb @@ -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)