X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcron.dinstall;h=b8b25d7a3d0911b072bb57991ad596825ac03117;hb=79065951288e5dc925b8b83499eff70986f8271f;hp=b61d03e46f56a4ad34b3a14b91895c947d5eb3ca;hpb=a94f47f637a6b2191653fe17f968af1f56af828e;p=dak.git diff --git a/config/debian/cron.dinstall b/config/debian/cron.dinstall index b61d03e4..b8b25d7a 100755 --- a/config/debian/cron.dinstall +++ b/config/debian/cron.dinstall @@ -112,7 +112,7 @@ ts echo "Updating fingerprints" # Update fingerprints -dak import-keyring -L /srv/keyring.debian.org/keyrings/debian-keyring.gpg +dak import-keyring -L /srv/keyring.debian.org/keyrings/debian-keyring.gpg || true ts @@ -250,7 +250,7 @@ ts # Compress psql backups echo "Compress old psql backups" (cd $base/backup/ - find -maxdepth 1 -mindepth 1 -type f -name 'dump_*' \! -name '*.bz2' \! -name '*.gz' | + find -maxdepth 1 -mindepth 1 -type f -name 'dump_*' \! -name '*.bz2' \! -name '*.gz' -mtime +1 | while read dumpname; do echo "Compressing $dumpname" bzip2 -9 "$dumpname"