]> git.saurik.com Git - apt.git/blobdiff - debian/apt.cron.daily
tests: add a webserverconfig method to abstract config
[apt.git] / debian / apt.cron.daily
index 3f9df9d7e4b3056f57c1d82ee6417023d75606e6..2616af1dd17fce4b2d94ca0e0d7e3f27726c8ba1 100644 (file)
@@ -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