X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=cron.weekly;fp=cron.weekly;h=9c84600cb8034759240593d2658b250fc152f881;hb=9958d0c2f3529d94446846e2e0757d536219ec7b;hp=949f50543a1fb7ad2f4b1e71682340c0c2e7f043;hpb=712f5cb88b001d0d71dad6372a141b2e01386cbb;p=dak.git diff --git a/cron.weekly b/cron.weekly index 949f5054..9c84600c 100755 --- a/cron.weekly +++ b/cron.weekly @@ -13,9 +13,20 @@ pg_dump projectb > /org/ftp.debian.org/backup/dump_$(date +%Y.%m.%d-%H:%M:%S) ################################################################################ -cd $masterdir -shania -v -shania -v -m -i $incoming +### [JJT] Disabled until shania is rewritten +#cd $masterdir +#shania -v +#shania -v -m -i $incoming + +# Purge empty directories + +if [ ! -z "$(find $ftpdir/pool/ -type d -empty)" ]; then + find $ftpdir/pool/ -type d -empty | xargs rmdir; +fi + +# Clean up apt-ftparchive's databases + +apt-ftparchive clean apt.conf # TODO: weekly postins to d-c (?), backup of report (?), backup of changes.tgz (?)