From: Joerg Jaspert Date: Sat, 26 Mar 2011 18:07:03 +0000 (+0100) Subject: add a bit more verbose logging X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=8d383351a830bc14a8aaeae0485b926843011b32;p=dak.git add a bit more verbose logging Signed-off-by: Joerg Jaspert --- diff --git a/scripts/debian/buildd-remove-keys b/scripts/debian/buildd-remove-keys index 3591785d..b9b2ecfe 100755 --- a/scripts/debian/buildd-remove-keys +++ b/scripts/debian/buildd-remove-keys @@ -190,7 +190,9 @@ for file in ${KEYS}; do # So put it into the removed keyring gpg ${DEFGPGOPT} --keyring "${ARCHKEYRING}" --export ${KEYID} | gpg ${DEFGPGOPT} --keyring "${REMOVED}" --import 2>/dev/null if gpg ${DEFGPGOPT} --keyring "${ARCHKEYRING}" --yes --delete-keys ${KEYID}; then - log "Removed key ${KEYID}, reason: ${COMMENT}" + KEYSUBMITTER=$(cat "${GPGSTATUS}"|grep GOODSIG) + KEYSUBMITTER=${KEYSUBMITTER##*GOODSIG} + log "${KEYSUBMITTER} removed key ${KEYID} for ${ARCH} buildd ${BUILDD}, reason: ${COMMENT}" mv "${INCOMING}/${file}" "${base}/${ARCH}" continue fi