summaryrefslogtreecommitdiff
path: root/debian/apt.cron.daily
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-09-07 08:09:22 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-09-07 08:09:22 +0000
commit43835916cf5ebf40df642f2a9bea6bdd702dc975 (patch)
treedcc37e51aa792da1bc42a702c113152dfa55c24a /debian/apt.cron.daily
parent8e29e348071f5d043e72c86a7c6d38e76a70c5ba (diff)
* fix a stupid typo in apt.cron.daily
Diffstat (limited to 'debian/apt.cron.daily')
-rw-r--r--debian/apt.cron.daily2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/apt.cron.daily b/debian/apt.cron.daily
index e3aaccfb0..26dfa2530 100644
--- a/debian/apt.cron.daily
+++ b/debian/apt.cron.daily
@@ -121,7 +121,7 @@ check_size_constraints()
# check for MinAge of the file
if [ ! $MinAge -eq 0 ]; then
# check both ctime and mtime
- mtime=$(date -c %Y $file)
+ mtime=$(stat -c %Y $file)
ctime=$(stat -c %Z $file)
if [ $mtime -gt $ctime ]; then
delta=$(($now-$mtime))