projects
/
grml2usb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dynamic check for addons as grml-small is nowadays shipped with addons.
[grml2usb.git]
/
grml2usb
diff --git
a/grml2usb
b/grml2usb
index
06a8f8a
..
6455aac
100755
(executable)
--- 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:
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)
else:
copy_addons(iso_mount, target)