X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/8e29e348071f5d043e72c86a7c6d38e76a70c5ba..062fe4b826a806648979748b424509cb08a3e2cf:/debian/apt.cron.daily 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))