blackbox_removeadmin: Disable gpg's confirmation.
This commit is contained in:
committed by
Tom Limoncelli
parent
c2ce39b719
commit
5767f22445
@@ -22,7 +22,7 @@ remove_line "$BB_ADMINS" "$KEYNAME"
|
|||||||
|
|
||||||
|
|
||||||
# remove the admin key from the pubring
|
# remove the admin key from the pubring
|
||||||
$GPG --no-permission-warning --homedir="$KEYRINGDIR" --delete-key "$KEYNAME"
|
$GPG --no-permission-warning --homedir="$KEYRINGDIR" --batch --yes --delete-key "$KEYNAME"
|
||||||
pubring_path=$(get_pubring_path)
|
pubring_path=$(get_pubring_path)
|
||||||
vcs_add "$pubring_path" "$KEYRINGDIR/trustdb.gpg" "$BB_ADMINS"
|
vcs_add "$pubring_path" "$KEYRINGDIR/trustdb.gpg" "$BB_ADMINS"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user