automatically generate digest file

This commit is contained in:
belliash 2012-02-04 13:01:16 +01:00
parent 15772ed973
commit 6b8bd93cf6
1 changed files with 4 additions and 0 deletions

View File

@ -365,5 +365,9 @@ function snapshotPortage() {
return 1
fi
fi
if [ ! -f ${SNAPSHOTSDIR}/${TARBALL}.DIGESTS ]; then
cd ${SNAPSHOTSDIR}
generateDigests ${TARBALL}.DIGESTS ${TARBALL} || return 1
fi
return 0
}