]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Maintenance: upkeep the snapshot web page Last-Modified headers
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 26 Nov 2011 00:36:56 +0000 (17:36 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 26 Nov 2011 00:36:56 +0000 (17:36 -0700)
mksnapshot-cron.sh

index 4bad8e13e8c6c95bcf772fb475d762ae35cf568a..24fc55edfea98f45058f67d726676658bda1f8b4 100755 (executable)
@@ -66,6 +66,9 @@ make_snapshot()
        rm -f ${dst}/*-${f} ${dst}/*-${f}.md5
     done
 
+    # update dynamic index pages Last-Modified info
+    touch ${dst}/index.dyn
+
     # Special cases
     case ${file} in
     *-cfgman.tar.gz)