1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-22 15:58:50 -05:00

Merge branch 'maint'

This commit is contained in:
Dan McGee 2012-04-08 21:51:24 -05:00
commit 3a82885348

View File

@ -436,14 +436,10 @@ refresh_keys() {
}
verify_sig() {
local fd="$(mktemp)"
"${GPG_PACMAN[@]}" --status-file "${fd}" --verify $SIGNATURE
if ! grep -q TRUST_FULLY "${fd}"; then
rm -f "${fd}"
if ! "${GPG_PACMAN[@]}" --status-fd 1 --verify $SIGNATURE | grep -qE 'TRUST_(FULLY|ULTIMATE)'; then
error "$(gettext "The signature identified by %s could not be verified.")" "$SIGNATURE"
exit 1
fi
rm -f "${fd}"
}
updatedb() {