projects
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* remove all the remaining #pragma implementation
[apt.git]
/
debian
/
apt.cron.daily
diff --git
a/debian/apt.cron.daily
b/debian/apt.cron.daily
index e3aaccfb07a344df582bb5da307494fa92ea0dcf..26dfa253083f516433713b46d0fceed89a5e1117 100644
(file)
--- 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))