#! /bin/sh
#
# cron script to remove <days> old autogenerated pk fonts
#
# Written by Erick Branderhorst <branderh@debian.org>.
#
# Provided and commented because of the find|xargs rm security hole
# If you run a stand alone you can uncomment the comment lines below

fonts=/var/spool/texmf/fonts
days=90

#for f in source tfm pk; do
#  if [ -d ${fonts}/$f -a ! -L ${fonts}/$f ] && cd ${fonts}/$f
#  then
#    find . -type f -atime +${days} -print0 | xargs -n 1 -r0 rm -f --
#  fi
#done
