index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | export-pkgbuild-keys.in | 4 |
diff --git a/export-pkgbuild-keys.in b/export-pkgbuild-keys.in index c10e4d1..8697b3d 100644 --- a/export-pkgbuild-keys.in +++ b/export-pkgbuild-keys.in @@ -37,7 +37,9 @@ fi mapfile -t validpgpkeys < <( # shellcheck source=PKGBUILD.proto . ./PKGBUILD - printf "%s\n" "${validpgpkeys[@]}" + if (( ${#validpgpkeys[@]} )); then + printf "%s\n" "${validpgpkeys[@]}" + fi ) msg "Exporting ${#validpgpkeys[@]} PGP keys..." |