projects
/
grml2usb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cf11c3
)
Dynamic check for addons as grml-small is nowadays shipped with addons.
author
Ulrich Dangel
<uli@spamt.net>
Tue, 27 Oct 2009 20:33:46 +0000
(21:33 +0100)
committer
Ulrich Dangel
<uli@spamt.net>
Tue, 27 Oct 2009 20:40:29 +0000
(21:40 +0100)
grml2usb
patch
|
blob
|
history
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:
- 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)