summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2019-03-31 18:13:20 +0200
committerAllan McRae <allan@archlinux.org>2019-05-08 02:05:23 +0200
commit915ac9ff9b112997bcdb14d7136f4862c9537a35 (patch)
tree5bb9dcab8442028637ef095157a1fc9f63dea700
parentd37e6d40a19dadf41a223dcb1fde36c6fa622958 (diff)
downloadpacman-915ac9ff9b112997bcdb14d7136f4862c9537a35.tar.gz
pacman-915ac9ff9b112997bcdb14d7136f4862c9537a35.tar.xz
libmakepkg: fix migration to schema.sh for integsums
One of the callers was changed to use known_hash_algos, one was not. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--scripts/libmakepkg/srcinfo.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/libmakepkg/srcinfo.sh.in b/scripts/libmakepkg/srcinfo.sh.in
index b9eeb817..76cfb787 100644
--- a/scripts/libmakepkg/srcinfo.sh.in
+++ b/scripts/libmakepkg/srcinfo.sh.in
@@ -90,7 +90,7 @@ srcinfo_write_global() {
local multivalued=(arch groups license checkdepends makedepends
depends optdepends provides conflicts replaces
noextract options backup
- source validpgpkeys {md5,sha{1,224,256,384,512}}sums)
+ source validpgpkeys "${known_hash_algos[@]/%/sums}")
srcinfo_open_section 'pkgbase' "${pkgbase:-$pkgname}"
srcinfo_write_section_details ''