diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2011-12-18 14:16:30 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-12-18 14:16:30 +0100 |
commit | 2b7bb0c6b7aa4f7a43c82db1cf9a18d27600c62e (patch) | |
tree | 215c7aacc2d23b6b553f8b1f1d033273fea571cd /db-update | |
parent | a8b219b325cd642a781a64d8e08a0e66d25c1b44 (diff) | |
download | dbscripts-2b7bb0c6b7aa4f7a43c82db1cf9a18d27600c62e.tar.gz dbscripts-2b7bb0c6b7aa4f7a43c82db1cf9a18d27600c62e.tar.xz |
Validate package signatures on db-update
Diffstat (limited to 'db-update')
-rwxr-xr-x | db-update | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -35,6 +35,9 @@ for repo in ${repos[@]}; do if ! check_pkgfile "${pkg}"; then die "Package ${repo}/$(basename ${pkg}) is not consistent with its meta data" fi + if ${REQUIRE_SIGNATURE} && ! check_pkgsig "${pkg}.sig"; then + die "Package ${repo}/$(basename ${pkg}) does not have a valid signature" + fi if ! check_pkgsvn "${pkg}" "${repo}"; then die "Package ${repo}/$(basename ${pkg}) is not consistent with svn repository" fi |