]> git.decadent.org.uk Git - dak.git/blob - config/debian-security/make-mirror.sh
generate-releases: Fix typo
[dak.git] / config / debian-security / make-mirror.sh
1 #!/bin/bash
2
3 set -e
4
5 LANG=C
6 LC_ALL=C
7
8 echo "Regenerating \"public\" mirror/ hardlink fun"
9 date -u > /srv/security-master.debian.org/ftp/project/trace/security-master.debian.org
10 echo "Using dak v1" >> /srv/security-master.debian.org/ftp/project/trace/security-master.debian.org
11 echo "Running on host: $(hostname -f)" >> /srv/security-master.debian.org/ftp/project/trace/security-master.debian.org
12 cd /srv/security.debian.org/archive/debian-security/
13 rsync -aH --link-dest /srv/security-master.debian.org/ftp/ --exclude Archive_Maintenance_In_Progress --delete --delete-after --ignore-errors /srv/security-master.debian.org/ftp/. .