From b7dc43945853971013a473d33458c698cefc4ab3 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 31 Mar 2012 18:40:22 +0200 Subject: [PATCH] Simplify/cleanup update script --- update-keys | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/update-keys b/update-keys index 20f29f8..83ca007 100755 --- a/update-keys +++ b/update-keys @@ -13,7 +13,7 @@ pushd "$(dirname "$0")" >/dev/null $GPG --gen-key </dev/null printf 'minimize\nquit\ny\n' | \ ${GPG} --command-fd 0 --edit-key ${keyid} - printf 'y\ny\n' | \ - ${GPG} --command-fd 0 --lsign-key ${keyid} &>/dev/null + ${GPG} --yes --lsign-key ${keyid} &>/dev/null ${GPG} --armor --output master/${username}.asc --export ${keyid} echo "${keyid}:4:" >> archlinux-trusted done < master-keyids -${GPG} --import-ownertrust < archlinux-trusted +${GPG} --import-ownertrust < archlinux-trusted 2>/dev/null while read -ra data; do keyid="${data[0]}"