See http://www.us.debian.org/Bugs/db/25/25303.html (Hannu Koivisto), and
http://www.hylafax.org/patches/faxcron-dirs.patch (Seth Cuaiklin).
# in the last $AGEINFO days. We use this to clean
# up the info files.
#
-find info -ctime +$AGEINFO -print >$JUNK
+find info -type f -ctime +$AGEINFO -print >$JUNK
if [ -s $JUNK ]; then
echo "Purge remote device capabilities older than $AGEINFO days:"
#
# Purge old stuff from the temp directory.
#
-find tmp -mtime +$AGETMP -print >$JUNK
+find tmp -type f -mtime +$AGETMP -print >$JUNK
if [ -s $JUNK ]; then
echo "Purge tmp files older than $AGETMP days:"
for i in `$CAT $JUNK`; do