From: Silvio Rhatto Date: Sun, 2 Aug 2015 19:10:21 +0000 (-0300) Subject: Set date on httracker-ok X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=984803ceb03810b5eddcc8792bf41b7ed35857f2;p=httruta.git Set date on httracker-ok --- diff --git a/lib/httracker/functions b/lib/httracker/functions index 2d3e35a..f9e56f1 100644 --- a/lib/httracker/functions +++ b/lib/httracker/functions @@ -67,7 +67,7 @@ function httracker_get { if [ "$?" == "0" ]; then # Mark as downloaded - touch $TARGET/httracker-ok + date +%s > $TARGET/httracker-ok else echo "Error fetching $url." rm -rf $TARGET