X-Git-Url: http://git.grml.org/?p=grml2usb.git;a=blobdiff_plain;f=grml2usb;fp=grml2usb;h=7b17c72547050a2f1f2ab1acc84fd4c3dc8905a6;hp=5ab3bf23cb9381133e50f3caa7a74710791071c7;hb=270b5d9cc9578d49b9a318453c7ae39501b2ffc8;hpb=460813178067e6c3e30a041d49f7b44577f77b9f diff --git a/grml2usb b/grml2usb index 5ab3bf2..7b17c72 100755 --- a/grml2usb +++ b/grml2usb @@ -1536,7 +1536,8 @@ def handle_compat_warning(device): @device: device that should be checked""" # make sure we can replace old grml2usb script and warn user when using old way of life: - if device.startswith("/mnt/external") or device.startswith("/mnt/usb") and not options.force: + if device.startswith("/media/external") or device.startswith("/media/usb") or \ + device.startswith("/mnt/external") or device.startswith("/mnt/usb") and not options.force: print "Warning: the semantics of grml2usb has changed." print "Instead of using grml2usb /path/to/iso %s you might" % device print "want to use grml2usb /path/to/iso /dev/... instead."