summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-12-31 09:06:49 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:07 +0100
commit001f8ae0b305af8e77f4625542192a7d23a69479 (patch)
treecfc5e26694b37e49af2e9a8fa22cabe548dd10e8 /hooks
parent14bdd875a6836e34831102b11d3a3c9daa7b2dde (diff)
downloadlive-boot-001f8ae0b305af8e77f4625542192a7d23a69479.tar.gz
live-boot-001f8ae0b305af8e77f4625542192a7d23a69479.zip
Including rsync conditionally.
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/live5
1 files changed, 4 insertions, 1 deletions
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