[SCM] live-tools branch, debian-next, updated. debian/3.0_a7-1-4-g6095132
Daniel Baumann
daniel at debian.org
Thu Apr 5 17:44:59 UTC 2012
The following commit has been merged in the debian-next branch:
commit 60951323bf9e98b8399c9955f7ebfc8b42c90887
Author: Daniel Baumann <daniel at debian.org>
Date: Thu Apr 5 19:43:55 2012 +0200
Correcting wrong check for rsync instead of eject when ejecting live media in live-toram.
diff --git a/scripts/live-toram b/scripts/live-toram
index 7e23f59..5cbfbe1 100755
--- a/scripts/live-toram
+++ b/scripts/live-toram
@@ -121,7 +121,7 @@ fi
if [ "$(expr substr ${_DEVICE} 1 2)" != "sd" ] && \
! readlink /sys/block/$(expr substr ${_DEVICE} 6 3) | grep -q usb
then
- if [ ! -x "$(which rsync 2>/dev/null)" ]
+ if [ ! -x "$(which eject 2>/dev/null)" ]
then
eject -p -m ${_DEVICE} >/dev/null 2>&1
fi
--
live-tools
More information about the debian-live-changes
mailing list