summaryrefslogtreecommitdiff
path: root/export-pkgbuild-keys.in
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2022-06-09 20:44:47 +0200
committerLevente Polyak <anthraxx@archlinux.org>2022-06-09 21:06:38 +0200
commit8d4c46d3689c5b859587c54f2741555f75479db4 (patch)
tree537ca7e99da01048f2df0e085d26502b8e2fd1bf /export-pkgbuild-keys.in
parentd00a28ea0ed981d47634504c3eb67c5b8870bc62 (diff)
downloaddevtools-8d4c46d3689c5b859587c54f2741555f75479db4.tar.xz
export-pkgbuild-keys: add simple success export messages
Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to 'export-pkgbuild-keys.in')
-rw-r--r--export-pkgbuild-keys.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/export-pkgbuild-keys.in b/export-pkgbuild-keys.in
index f392f4c..b5b1240 100644
--- a/export-pkgbuild-keys.in
+++ b/export-pkgbuild-keys.in
@@ -40,6 +40,7 @@ mapfile -t validpgpkeys < <(
printf "%s\n" "${validpgpkeys[@]}"
)
+msg "Exporting ${#validpgpkeys[@]} PGP keys..."
if (( ${#validpgpkeys[@]} == 0 )); then
exit 0
fi
@@ -52,6 +53,7 @@ for key in "${validpgpkeys[@]}"; do
# gpg does not give a non-zero return value if it fails to export...
if [[ -f keys/pgp/$key.asc.tmp ]]; then
+ msg2 "Exported $key"
mv "keys/pgp/$key.asc.tmp" "keys/pgp/$key.asc"
else
if [[ -f keys/pgp/$key.asc ]]; then