X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=mkchecksums;h=b99fd866f1f358684666ca29af8e5407feb2bdfa;hb=1af29fa5f8b542b7cf18e2c116551f90b5b9b24d;hp=d614fc1f58852f94055e0cf0c88bc0ad5dbd5d38;hpb=9ebfa30b056df56376cb0302a28a190e0aaed765;p=dak.git diff --git a/mkchecksums b/mkchecksums index d614fc1f..b99fd866 100755 --- a/mkchecksums +++ b/mkchecksums @@ -1,16 +1,16 @@ #!/bin/sh # Update the md5sums file -# $Id: mkchecksums,v 1.1 2000-11-24 00:20:11 troup Exp $ +# $Id: mkchecksums,v 1.2 2000-12-20 08:15:35 troup Exp $ set -e . $SCRIPTVARS -dsynclist=$indices/dsync.list +dsynclist=$dbdir/dsync.list md5list=$indices/md5sums echo -n "Creating md5 / dsync index file ... " cd "$ftpdir" dsync-flist -q generate $dsynclist --exclude $dsynclist --md5 -dsync-flist -q md5sums $dsynclist | tee $md5list | gzip -9n > ${md5list}.gz +dsync-flist -q md5sums $dsynclist | gzip -9n > ${md5list}.gz dsync-flist -q link-dups $dsynclist || true