[Debian-live-changes] r1398 - dists/trunk/live-helper/examples
Daniel Baumann
daniel at alioth.debian.org
Tue May 8 20:09:53 UTC 2007
Author: daniel
Date: 2007-05-08 20:09:53 +0000 (Tue, 08 May 2007)
New Revision: 1398
Modified:
dists/trunk/live-helper/examples/snapshot-build.sh
Log:
Modified: dists/trunk/live-helper/examples/snapshot-build.sh
===================================================================
--- dists/trunk/live-helper/examples/snapshot-build.sh 2007-05-08 19:58:55 UTC (rev 1397)
+++ dists/trunk/live-helper/examples/snapshot-build.sh 2007-05-08 20:09:53 UTC (rev 1398)
@@ -96,6 +96,8 @@
if [ "${UPDATE_INDICES}" = "true" ]
then
+ LAST_UPDATE="`date -r`"
+
# Updating binary indices
cd "${SERVER}"
apt-ftparchive packages ./ > Packages
@@ -110,7 +112,12 @@
fi
# Writing timestamp
-echo -e "Begin: ${DATE_START}\nEnd: `date -R`" > "${SERVER}"/LAST_BUILD
+cat > "${SERVER}"/LAST_BUILD << EOF
+Last run begin: ${DATE_START}
+Last run end: `date -R`
+Last update: ${LAST_UPDATE}
+EOF
+
# Removing build directory
rm -rf "${BUILD}"
More information about the Debian-live-changes
mailing list