Skip to content

Commit e3a5828

Browse files
committed
pacman-helper quick_add: fix gpg verification in sanitize_db
In 94dde8c (pacman-helper quick_add: verify that the old/new Pacman repos are in sync, 2025-02-16), I added a call to `call_gpg --verify`. But that fails in the regular Git for Windows workflows because there, `gpg.program=gnupg-with-gpgkey.sh` is configured and hence the `call_gpg` function calls that script. And that script really only helps with signing, not with verifying (but fails instead). So let's call `gpg --verify` directly instead. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 23c707a commit e3a5828

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pacman-helper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ sanitize_db () { # <file>...
164164
then
165165
for path in "$@"
166166
do
167-
if test -f "$path.sig" && call_gpg --verify "$path.sig"
167+
if test -f "$path.sig" && gpg --verify "$path.sig"
168168
then
169169
continue
170170
fi

0 commit comments

Comments
 (0)