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

daniel at alioth.debian.org daniel at alioth.debian.org
Sat Jun 2 16:58:17 UTC 2007


Author: daniel
Date: 2007-06-02 16:58:17 +0000 (Sat, 02 Jun 2007)
New Revision: 1916

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-02 04:06:58 UTC (rev 1915)
+++ dists/trunk/live-helper/examples/cron/snapshots.sh	2007-06-02 16:58:17 UTC (rev 1916)
@@ -86,10 +86,7 @@
 		fi
 
 		# Removing old packages
-		if ls "${SERVER}"/"${PACKAGE}"* > /dev/null >2&1
-		then
-			rm -f "${SERVER}"/"${PACKAGE}"*
-		fi
+		rm -f "${SERVER}"/"${PACKAGE}"*
 
 		# Moving packages
 		mv "${TEMPDIR}"/${PACKAGE}* "${SERVER}"




More information about the Debian-live-changes mailing list