[SCM] live-startscripts branch, master, updated. d41e851a56d3d63c0fdf78adc7bc887fc827267c
Richard Nelson
unixabg at gmail.com
Sun Dec 6 15:32:34 UTC 2009
The following commit has been merged in the master branch:
commit eb51401acd20448e6e4ecaddeabdd0ad3c8da33d
Author: Richard Nelson <unixabg at gmail.com>
Date: Tue Dec 1 13:34:11 2009 -0600
Version mismatch scratch made to match normal scratch.
diff --git a/initscripts/live-vmware-player b/initscripts/live-vmware-player
index 7ecc62a..dd83833 100755
--- a/initscripts/live-vmware-player
+++ b/initscripts/live-vmware-player
@@ -197,7 +197,11 @@ EOF
then
echo "Upgrading release from version ${RELEASE} to ${CRELEASE}." >> /var/log/live-vmware-player.log
echo "We will take scratch actions." >> /var/log/live-vmware-player.log
- rm -rf /vmware/*
+ # Only doing *.* opposed to * since folders with vmware images may be on the same block device.
+ rm -rf /vmware/*.*
+ # Also now have to remove local-release.
+ rm -f /vmware/local-release
+ echo "Scratching completed!" >> /var/log/live-vmware-player.log
echo RELEASE=\"${CRELEASE}\" > /vmware/local-release
echo "Rsyncing in some stuff to /vmware." >> /var/log/live-vmware-player.log
--
live-startscripts
More information about the debian-live-changes
mailing list