X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=cron.weekly;fp=cron.weekly;h=0000000000000000000000000000000000000000;hb=59fd5aa2a8be3b76dbc968429c457f096adfa472;hp=8357d2ee8309fbbbbc52e582f8221d7ad158de02;hpb=9540d873fa78598454af57f5f8a4875969ed0439;p=dak.git diff --git a/cron.weekly b/cron.weekly deleted file mode 100755 index 8357d2ee..00000000 --- a/cron.weekly +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -# -# Run once a week via cron, out of katie's crontab. - -set -e -export SCRIPTVARS=/org/ftp.debian.org/katie/vars -. $SCRIPTVARS - -################################################################################ - -# 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 - -cd $masterdir -apt-ftparchive -q clean apt.conf -apt-ftparchive -q clean apt.conf.buildd - -################################################################################