index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-10-14 08:17:51 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-10-14 08:17:51 +0200 |
commit | 7100f95150b58eecb74ec397401dc3628e1e7822 (patch) | |
tree | 165d12dee9a43027949556aa7fca673a1df93b1f | |
parent | 0500289b9238737c6b647eb5b22800816cd60e0a (diff) |
-rwxr-xr-x | bin/nit-picker | 9 |
diff --git a/bin/nit-picker b/bin/nit-picker index 2332d1c..48e7e38 100755 --- a/bin/nit-picker +++ b/bin/nit-picker @@ -295,7 +295,14 @@ while pgrep -x ii >/dev/null \ --verify "${tmp_dir}/${parameters}.sig" "${tmp_dir}/${parameters}" \ 2>/dev/null ); then - error_message="package ${parameters} has an invalid signature." + sleep 1 + if ! gpg_output=$( + gpg --batch --status-fd 1 -q --homedir /etc/pacman.d/gnupg \ + --verify "${tmp_dir}/${parameters}.sig" "${tmp_dir}/${parameters}" \ + 2>/dev/null + ); then + error_message="package ${parameters} has an invalid signature." + fi fi if [ -z "${error_message}" ]; then gpg_key=$( |