X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fdinstall.functions;h=5805cc948179062c77afed695a1ace69f2becabc;hb=7a60a3e05199b358f02dc2615cc66ae35f818242;hp=1b508d25a657ad88ed266f46e1df09d3fda73f6a;hpb=ce9716468984dace4d5fde3616604da17fae8c9b;p=dak.git diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions index 1b508d25..5805cc94 100644 --- a/config/debian/dinstall.functions +++ b/config/debian/dinstall.functions @@ -604,3 +604,13 @@ Current action: ${1} Action start: ${RIGHTNOW} EOF } + +# extract changelogs and stuff +function changelogs() { + log "Extracting changelogs" + dak make-changelog -e + mkdir -p ${exportpublic}/changelogs + cd ${exportpublic}/changelogs + rsync -aHW --delete --delete-after --ignore-errors ${exportdir}/changelogs/. . + sudo -H -u archvsync /home/archvsync/runmirrors metaftpdo > ~dak/runmirrors-metadata.log 2>&1 & +}