]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bootstrapped
authorAutomatic source maintenance <squidadm@squid-cache.org>
Mon, 2 Apr 2012 04:59:33 +0000 (22:59 -0600)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Mon, 2 Apr 2012 04:59:33 +0000 (22:59 -0600)
mksnapshot-cron.sh

index 24fc55edfea98f45058f67d726676658bda1f8b4..9f43f78ec32c9091c110de41c5675bd7aed5a3a2 100755 (executable)
@@ -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