[Debian-live-changes] r1936 - dists/trunk/live-helper/examples/cron

daniel at alioth.debian.org daniel at alioth.debian.org
Sun Jun 3 06:15:37 UTC 2007


Author: daniel
Date: 2007-06-03 06:15:37 +0000 (Sun, 03 Jun 2007)
New Revision: 1936

Modified:
   dists/trunk/live-helper/examples/cron/snapshots.sh
Log:


Modified: dists/trunk/live-helper/examples/cron/snapshots.sh
===================================================================
--- dists/trunk/live-helper/examples/cron/snapshots.sh	2007-06-03 06:13:06 UTC (rev 1935)
+++ dists/trunk/live-helper/examples/cron/snapshots.sh	2007-06-03 06:15:37 UTC (rev 1936)
@@ -88,11 +88,15 @@
 			rm -f "${SERVER}"/"${FILE}"
 		done
 
+		rm -f "${SERVER}"/"${PACKAGE}"*.changes
+
 		# Installing new packages
 		for FILE in `awk {'print $5'} "${TEMPDIR}"/"${PACKAGE}"*.changes | grep -e ".*\.deb$" -e ".*\.diff.gz$" -e ".*\.dsc$" -e ".*\.tar.gz$" -e ".*\.udeb$"`
 		do
 			mv "${TEMPDIR}"/"${FILE}" "${SERVER}"
 		done
+
+		mv "${TEMPDIR}"/"${PACKAGE}"*.changes "${TEMPDIR}"
 	else
 		# Remove sources
 		rm -rf "${TEMPDIR}"/${PACKAGE}




More information about the Debian-live-changes mailing list