3 # Run once a week via cron, out of dak's crontab.
7 export SCRIPTVARS=/srv/ftp.debian.org/dak/config/debian/vars
10 ################################################################################
12 # Purge empty directories
14 if [ ! -z "$(find $ftpdir/pool/ -type d -empty)" ]; then
15 find $ftpdir/pool/ -type d -empty | xargs rmdir;
18 # Clean up apt-ftparchive's databases
21 apt-ftparchive -q clean apt.conf
22 apt-ftparchive -q clean apt.conf.buildd
24 ################################################################################