From 6b8bd93cf62a5733624ff08a8ecaf27fb87294b2 Mon Sep 17 00:00:00 2001 From: belliash Date: Sat, 4 Feb 2012 13:01:16 +0100 Subject: [PATCH] automatically generate digest file --- libraries/repositories | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/repositories b/libraries/repositories index ce4f579..96de5b5 100644 --- a/libraries/repositories +++ b/libraries/repositories @@ -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 }