pacman-key: call gpg fewer times for revocation keys
commit9aa4d9a7b981e48a42203d4c07f729c8b890c62f
authorDave Reisner <dreisner@archlinux.org>
Fri, 25 Nov 2011 20:16:46 +0000 (25 15:16 -0500)
committerDan McGee <dan@archlinux.org>
Tue, 31 Jan 2012 03:59:41 +0000 (30 21:59 -0600)
tree8f8c4e94646010178b5bb3160301bbd508d275cf
parent2a73f4e9949e6655d17f15cf123a81568708741d
pacman-key: call gpg fewer times for revocation keys

Instead of iterating over the revocation keyfile and calling gpg once
for each key, map the file into an array and call gpg once, iterating
over this output to mark each key as revoked.

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
scripts/pacman-key.sh.in