From cda61cb2e3dd224ad7552825215533f9ec95e618 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Thu, 6 Nov 2008 22:33:43 +0100 Subject: Added version information to script and to trace file Signed-off-by: Joerg Jaspert --- bin/ftpsync | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bin') 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=( -- cgit v1.2.3