projects
/
apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e29e34
)
* fix a stupid typo in apt.cron.daily
author
Michael Vogt
<michael.vogt@ubuntu.com>
Wed, 7 Sep 2005 08:09:22 +0000
(08:09 +0000)
committer
Michael Vogt
<michael.vogt@ubuntu.com>
Wed, 7 Sep 2005 08:09:22 +0000
(08:09 +0000)
debian/apt.cron.daily
patch
|
blob
|
blame
|
history
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))