From 1a5a6cdf81fbd2195b506852f7f52c80e52aecbf Mon Sep 17 00:00:00 2001 From: Ulrich Dangel Date: Mon, 20 Sep 2010 15:16:55 +0200 Subject: [PATCH 1/1] bsd4grml was not copied correctly to the target device. This fixes a bug introduced in commit c70267a9. The problem is that the bsd4grml addon is a directory and it needs a trailing slash for copying with rysnc. handle_addon_copy just search for the file and copies it directly to the target device without adding a slash. The current fix is to remove the explicit destination filename in handle_addon_copy. Thanks to Alex Mestiashvili for reporting that bug. --- grml2usb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grml2usb b/grml2usb index 161aae0..092e34d 100755 --- a/grml2usb +++ b/grml2usb @@ -1201,7 +1201,7 @@ def handle_addon_copy(filename, dst, iso_mount): if file_location is None: logging.warn("Warning: %s not found (that's fine if you don't need it)", filename) else: - exec_rsync(file_location, dst + filename) + exec_rsync(file_location, dst) def copy_addons(iso_mount, target): -- 2.1.4