pacman-key: fix broken logic around updating trust database
commit8129b93afe13a6546f46c6615c316ed85f341191
authorDan McGee <dan@archlinux.org>
Mon, 29 Aug 2011 15:52:12 +0000 (29 10:52 -0500)
committerDan McGee <dan@archlinux.org>
Tue, 30 Aug 2011 00:55:28 +0000 (29 19:55 -0500)
treef7aae9718dea334265a28e9c68334e5b47b87146
parente3676ae7b51fdaa68fcf2923c19681ec7d6f3952
pacman-key: fix broken logic around updating trust database

Any option that flips UPDATEDB=1 doesn't work right now due to what we
thought was a good idea in commit cab1379a1ab14. Fix this by not
including the update operation in the option count and special casing
it where necessary.

Also, bring back the helpful "Updating trust database" message.

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