]> git.plutz.net Git - serve0/blobdiff - index.cgi
improved update heuristics
[serve0] / index.cgi
index 62e495aed94d5538515f3ba751dc5a625bc67c79..a33211d6653adbc4fc2980e4d0077277069abc06 100755 (executable)
--- a/index.cgi
+++ b/index.cgi
@@ -26,7 +26,7 @@ case $ACTION in
     SET_COOKIE +$((86400 * 90))      mode="$(POST     mode |grep -m1 -axE 'browse|index' || printf browse)"
     SET_COOKIE +$((86400 * 90))   fakemp4="$(POST  fakemp4 |grep -m1 -axE 'yes' || printf no)"
     SET_COOKIE +$((86400 * 90)) downscale="$(POST  downscale |grep -m1 -axE 'yes' || printf no)"
-    [ "$(POST index)" = "update" ] && touch -cd @0 "${_DATA}/.index/meta"
+    [ "$(POST index)" = "update" ] && touch -cd @0 "${_DATA}/.index/meta.time"
     REDIRECT "$(POST ref)"
   ;;
   bookmark)