index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Levente Polyak <anthraxx@archlinux.org> | 2022-06-22 00:51:22 +0200 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2022-06-22 00:51:22 +0200 |
commit | f386c131426927cca3f771408dbc70a05602a44d (patch) | |
tree | 23e5852c01553f791ec0b578708b0e5591109ad7 /export-pkgbuild-keys.in | |
parent | 49d889cb8db18124a3d05b1012605b50a6cefca8 (diff) |
-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..." |