diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-08-02 16:10:21 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-08-02 16:10:21 -0300 |
commit | 984803ceb03810b5eddcc8792bf41b7ed35857f2 (patch) | |
tree | f042c2e65d813e90cbd3e0ac7c0c21c89fd9c229 /lib/httracker | |
parent | e29ccb4c4e9ed4e95575ca2fbf1ade91f28534ed (diff) | |
download | httruta-984803ceb03810b5eddcc8792bf41b7ed35857f2.tar.gz httruta-984803ceb03810b5eddcc8792bf41b7ed35857f2.tar.bz2 |
Set date on httracker-ok
Diffstat (limited to 'lib/httracker')
-rw-r--r-- | lib/httracker/functions | 2 |
1 files changed, 1 insertions, 1 deletions
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 |