summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJoerg Jaspert <joerg@debian.org>2008-11-06 22:33:43 +0100
committerJoerg Jaspert <joerg@debian.org>2008-11-06 22:33:43 +0100
commitcda61cb2e3dd224ad7552825215533f9ec95e618 (patch)
tree876f2dab8377cbb271ffe9f3da09148469052015 /bin
parent4208c62c3da4ea4c921a7b40da4090e051e95265 (diff)
Added version information to script and to trace file
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ftpsync6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/ftpsync b/bin/ftpsync
index 3eef748..b6d7bbb 100755
--- a/bin/ftpsync
+++ b/bin/ftpsync
@@ -29,6 +29,11 @@ set -u
# for that. Or pam_env. Or whatever fits in the local setup. :)
BASEDIR=${BASEDIR:-"${HOME}"}
+# Script version. DO NOT CHANGE, *unless* you change the master copy maintained
+# by Joerg Jaspert and the Debian mirroradm group.
+# This is used to track which mirror is using which script version.
+VERSION="3.1415926"
+
# Source our common functions
. "${BASEDIR}/etc/common"
@@ -417,6 +422,7 @@ done
if [ -d "`dirname "${TO}/${TRACE}"`" ]; then
date -u > "${TO}/${TRACE}"
+ echo "${VERSION}" >> "${TO}/${TRACE}"
fi
HOOK=(