Kill gpg-agent when appropriate
This commit is contained in:
parent
e5e89e5c2b
commit
a649fddd6e
1 changed files with 1 additions and 0 deletions
|
|
@ -141,6 +141,7 @@ if grep -q "BEGIN PGP SIGNATURE" *.dsc; then
|
|||
touch ${LOCAL_APT}/keyring.gpg
|
||||
gpg2 --no-use-agent --keyring ${LOCAL_APT}/keyring.gpg --import ${LOCAL_APT}/etc/trusted.gpg
|
||||
gpg2 --no-use-agent --verify --keyring ${LOCAL_APT}/etc/trusted.gpg *.dsc
|
||||
[ -n SCHROOT_COMMAND ] && gpgconf --kill gpg-agent
|
||||
else
|
||||
echo WARNING! The dsc file is not gpg signed!
|
||||
[ -z "$EXTERNAL" ] && exit 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue