]> git.decadent.org.uk Git - dak.git/blob - config/debian-security/export.sh
Remove dead code
[dak.git] / config / debian-security / export.sh
1 #!/bin/bash
2
3 set -e
4 set -u
5 set -E
6
7 export SCRIPTVARS=/srv/security-master.debian.org/dak/config/debian-security/vars
8 . $SCRIPTVARS
9
10 # Make sure we start out with a sane umask setting
11 umask 022
12
13 # And use one locale, no matter what the caller has set
14 export LANG=C
15 export LC_ALL=C
16
17 . "${configdir}/../debian/common"
18
19 # extract changelogs and stuff
20 function changelogs() {
21     log "Extracting changelogs"
22     dak make-changelog -e -a security
23     mkdir -p ${exportpublic}/changelogs
24     cd ${exportpublic}/changelogs
25     rsync -aHW --delete --delete-after --ignore-errors ${exportdir}/changelogs/. .
26     sudo -H -u archvsync /home/archvsync/runmirrors metasdo > ~dak/runmirrors-metadata.log 2>&1 &
27 }
28
29 changelogs