Browse Source

automatically generate digest file

belliash 7 years ago
parent
commit
6b8bd93cf6
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      libraries/repositories

+ 4
- 0
libraries/repositories View File

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

Loading…
Cancel
Save