summaryrefslogtreecommitdiff
path: root/debian/apt.cron.daily
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-09-12 13:39:41 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-09-12 13:39:41 +0000
commit3971f8e87d659d9ac657dafdf665019a9cfc5c4c (patch)
tree56cd8192c30b2df05b8396e3600832fd0af4b65c /debian/apt.cron.daily
parentd713e67d4bf668df8024aa9e3fa5875b6f056801 (diff)
* fix a typo
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))