From 8d4c46d3689c5b859587c54f2741555f75479db4 Mon Sep 17 00:00:00 2001 From: Levente Polyak Date: Thu, 9 Jun 2022 20:44:47 +0200 Subject: export-pkgbuild-keys: add simple success export messages Signed-off-by: Levente Polyak --- export-pkgbuild-keys.in | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3-70-g09d2