From: Automatic source maintenance Date: Mon, 2 Apr 2012 04:59:33 +0000 (-0600) Subject: Bootstrapped X-Git-Tag: BumpSslServerFirst.take08~7^2~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=74243da8745c086fc7428e153f43a77999e6dbc7;p=thirdparty%2Fsquid.git Bootstrapped --- diff --git a/mksnapshot-cron.sh b/mksnapshot-cron.sh index 24fc55edfe..9f43f78ec3 100755 --- a/mksnapshot-cron.sh +++ b/mksnapshot-cron.sh @@ -58,6 +58,7 @@ make_snapshot() rm -f ${dst}/squid-${ver}.snapshot${type}.md5 ln -s ${file}.md5 ${dst}/squid-${ver}.snapshot${type}.md5 + set +e # cleanup old snapshots ls ${dst}/*-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]-r*[0-9]${type} | \ sed -e 's/.*-\([0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]-r[0-9]+'${type}'\)/\1/' | \ @@ -66,6 +67,8 @@ make_snapshot() rm -f ${dst}/*-${f} ${dst}/*-${f}.md5 done + set -e + # update dynamic index pages Last-Modified info touch ${dst}/index.dyn