packages: clamav/clamav-cron-updatedb - fix date format
marmarek
marmarek at pld-linux.org
Wed Oct 21 12:12:12 CEST 2009
Author: marmarek Date: Wed Oct 21 10:12:12 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- fix date format
---- Files affected:
packages/clamav:
clamav-cron-updatedb (1.9 -> 1.10)
---- Diffs:
================================================================
Index: packages/clamav/clamav-cron-updatedb
diff -u packages/clamav/clamav-cron-updatedb:1.9 packages/clamav/clamav-cron-updatedb:1.10
--- packages/clamav/clamav-cron-updatedb:1.9 Tue Oct 13 11:41:46 2009
+++ packages/clamav/clamav-cron-updatedb Wed Oct 21 12:12:07 2009
@@ -7,7 +7,7 @@
. /etc/sysconfig/clamd
fi
-hour=$(LC_ALL=C date '+%H')
+hour=$(LC_ALL=C date '+%k')
div=$((hour % ${UPDATE_HOUR#0}))
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/clamav/clamav-cron-updatedb?r1=1.9&r2=1.10&f=u
More information about the pld-cvs-commit
mailing list