aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-08-02 16:10:21 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-08-02 16:10:21 -0300
commit984803ceb03810b5eddcc8792bf41b7ed35857f2 (patch)
treef042c2e65d813e90cbd3e0ac7c0c21c89fd9c229 /lib
parente29ccb4c4e9ed4e95575ca2fbf1ade91f28534ed (diff)
downloadhttruta-984803ceb03810b5eddcc8792bf41b7ed35857f2.tar.gz
httruta-984803ceb03810b5eddcc8792bf41b7ed35857f2.tar.bz2
Set date on httracker-ok
Diffstat (limited to 'lib')
-rw-r--r--lib/httracker/functions2
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