Compare commits

...

3 Commits

Author SHA1 Message Date
Felix Yan
bfbfd58d49 Merge branch 'felixonmars-master-patch-03177' into 'master'
export-pkgbuild-keys: use export-clean instead of export-minimal

Closes #93

See merge request archlinux/devtools!116
2025-08-11 02:24:31 +08:00
Jakub Klinkovský
fc56ebedf3 fix(completion): fix bash completion for the license subcommand
Signed-off-by: Jakub Klinkovský <lahwaacz@archlinux.org>
2025-08-05 17:48:12 +02:00
Felix Yan
7f2904d069 export-pkgbuild-keys: use export-clean instead of export-minimal
Fixes #93
2022-09-28 07:46:44 +00:00
2 changed files with 2 additions and 1 deletions

View File

@@ -150,6 +150,7 @@ _pkgctl_cmds=(
db
diff
issue
license
release
repo
search

View File

@@ -57,7 +57,7 @@ mkdir -p keys/pgp
error=0
for key in "${validpgpkeys[@]}"; do
gpg --output "$TEMPDIR/$key.asc" --armor --export --export-options export-minimal "$key" 2>/dev/null
gpg --output "$TEMPDIR/$key.asc" --armor --export --export-options export-clean "$key" 2>/dev/null
# gpg does not give a non-zero return value if it fails to export...
if [[ -f $TEMPDIR/$key.asc ]]; then