only try to copy the binary to make the LED blink if it exists.

pull/10/head
Raphaël Vinot 2014-10-05 17:38:48 +02:00
parent e1454aa6bb
commit 8c497b7608
1 changed files with 3 additions and 1 deletions

View File

@ -22,7 +22,9 @@ fi
tar -cvpzf backup.tar.gz -C fs/ .
tar -xzf backup.tar.gz -C ${CHROOT_PATH}/
chown root:root ${CHROOT_PATH}/etc/sudoers
cp deb/led ${CHROOT_PATH}/usr/sbin/led
if [ -f deb/led ]; then
cp deb/led ${CHROOT_PATH}/usr/sbin/led
fi
cp -rf midi ${CHROOT_PATH}/opt/
# needed just once, make sure the size of the partition is correct