[Debian-live-changes] r1935 - dists/trunk/live-helper/examples/cron
daniel at alioth.debian.org
daniel at alioth.debian.org
Sun Jun 3 06:13:07 UTC 2007
Author: daniel
Date: 2007-06-03 06:13:06 +0000 (Sun, 03 Jun 2007)
New Revision: 1935
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:05:31 UTC (rev 1934)
+++ dists/trunk/live-helper/examples/cron/snapshots.sh 2007-06-03 06:13:06 UTC (rev 1935)
@@ -83,13 +83,13 @@
mkdir -p "${SERVER}"
# Removing old packages
- for FILE in `awk {'print $5'} "${SERVER}"/"${PACKAGE}"*.changes | grep -e ".*\.deb" -e ".*\.diff.gz" -e ".*\.dsc" -e ".*\.tar.gz" -e ".*\.udeb"`
+ for FILE in `awk {'print $5'} "${SERVER}"/"${PACKAGE}"*.changes | grep -e ".*\.deb$" -e ".*\.diff.gz$" -e ".*\.dsc$" -e ".*\.tar.gz$" -e ".*\.udeb$"`
do
rm -f "${SERVER}"/"${FILE}"
done
# 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"`
+ 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
More information about the Debian-live-changes
mailing list