From 001f8ae0b305af8e77f4625542192a7d23a69479 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 31 Dec 2009 09:06:49 +0100 Subject: [PATCH] Including rsync conditionally. --- hooks/live | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hooks/live b/hooks/live index aa7b020..6862407 100755 --- a/hooks/live +++ b/hooks/live @@ -100,7 +100,10 @@ manual_add_modules ext4 # Filesystem: jffs2 manual_add_modules jffs2 -copy_exec /usr/bin/rsync /bin +if [ -x /usr/bin/rsync ] +then + copy_exec /usr/bin/rsync /bin +fi # Filesystem: squashfs copy_exec /sbin/losetup /sbin -- 2.1.4