]> git.decadent.org.uk Git - dak.git/blob - scripts/debian/mkchecksums
Stop using silly names, and migrate to a saner directory structure.
[dak.git] / scripts / debian / mkchecksums
1 #!/bin/sh
2 # Update the md5sums file
3 # $Id: mkchecksums,v 1.2 2000-12-20 08:15:35 troup Exp $
4
5 set -e
6 . $SCRIPTVARS
7
8 dsynclist=$dbdir/dsync.list
9 md5list=$indices/md5sums
10
11 echo -n "Creating md5 / dsync index file ... "
12
13 cd "$ftpdir"
14 dsync-flist -q generate $dsynclist --exclude $dsynclist --md5
15 dsync-flist -q md5sums $dsynclist | gzip -9n > ${md5list}.gz
16 dsync-flist -q link-dups $dsynclist || true