[SCM] debian-live branch, master, updated. 1.130.1-3-10-g584900b
Marco Amadori
marco.amadori at gmail.com
Sat May 31 21:25:25 UTC 2008
The following commit has been merged in the master branch:
commit 584900b9a1b36d2c06e6bc90895076e57cdea8d2
Author: Marco Amadori <amadorim at vdavda.com>
Date: Wed May 28 10:34:35 2008 +0200
Calling live-snapshot now produces an output file.
* Invoking live-snapshot without parameters now produces an output
file useful to be copied on a writable media as intended.
Signed-off-by: Marco Amadori <marco.amadori at gmail.com>
diff --git a/bin/live-snapshot b/bin/live-snapshot
index 12c79b8..c50bcc0 100755
--- a/bin/live-snapshot
+++ b/bin/live-snapshot
@@ -313,8 +313,13 @@ Do_snapshot ()
Clean ()
{
- umount "${MOUNTP}"
- rmdir "${MOUNTP}"
+ if echo "${DEST}" | grep -q "${MOUNTP}"
+ then
+ echo "${DEST} is present on ${MOUNTP}, therefore no automatic unmounting the latter." > /dev/null 1>&2
+ else
+ umount "${MOUNTP}"
+ rmdir "${MOUNTP}"
+ fi
}
Main ()
--
debian-live
More information about the debian-live-changes
mailing list