From: Ansgar Burchardt Date: Sun, 24 Feb 2013 20:04:39 +0000 (+0100) Subject: config/debian/dinstall.functions: create ${archiveroot}/indices X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=0afe19266afa3f9995dd4e17c76cfbca8a9f1216;p=dak.git config/debian/dinstall.functions: create ${archiveroot}/indices --- diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions index ee1b58e2..21d75e00 100644 --- a/config/debian/dinstall.functions +++ b/config/debian/dinstall.functions @@ -219,12 +219,17 @@ function mklslar() { function mkmaintainers() { local archiveroot + local indices log 'Creating Maintainers index ... ' for archive in "${public_archives[@]}"; do archiveroot="$(get_archiveroot "${archive}")" - cd "${archiveroot}/indices" + indices="${archiveroot}/indices" + if ! [ -d "${indices}" ]; then + mkdir "${indices}" + fi + cd "${indices}" dak make-maintainers -a "${archive}" ${scriptdir}/masterfiles/pseudo-packages.maintainers gzip -9v --rsyncable Maintainers.gz