summaryrefslogtreecommitdiff
path: root/debian/apt.cron.daily
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-11-23 09:16:24 +0100
committerMichael Vogt <mvo@debian.org>2013-11-23 09:16:24 +0100
commite838ca08d2b2311931b2e41699fdaba5ec04b28c (patch)
treeeed784a4aac9c2bd8a4031652a37b498de9610ae /debian/apt.cron.daily
parent61f954bff040809e7ab57b3adec2fe95339ffb94 (diff)
Changed MinAgeSec to MinAge in /etc/cron.daily/apt:200,204 LP: #1206047
Diffstat (limited to 'debian/apt.cron.daily')
-rw-r--r--debian/apt.cron.daily4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/apt.cron.daily b/debian/apt.cron.daily
index 3f9df9d7e..2616af1dd 100644
--- a/debian/apt.cron.daily
+++ b/debian/apt.cron.daily
@@ -197,11 +197,11 @@ check_size_constraints()
delta=$(($now-$ctime))
fi
if [ $delta -le $MinAge ]; then
- debug_echo "skip remove by archive size: $file, delta=$delta < $MinAgeSec"
+ debug_echo "skip remove by archive size: $file, delta=$delta < $MinAge"
break
else
# delete oldest file
- debug_echo "remove by archive size: $file, delta=$delta >= $MinAgeSec (sec), size=$size >= $MaxSize"
+ debug_echo "remove by archive size: $file, delta=$delta >= $MinAge (sec), size=$size >= $MaxSize"
rm -f $file
fi
fi