Skip to content

Commit 3ffc4a6

Browse files
committed
ci-build.sh: fix inverted pinentry test
We want to install it when it's *not* present... -_-
1 parent 2704c21 commit 3ffc4a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ci-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ EOL
178178
esac
179179

180180
# HACK: Install pinentry helper program if missing. Avoids "signing failed: No pinentry" error.
181-
if which pinentry >/dev/null 2>&1; then
181+
if ! which pinentry >/dev/null 2>&1; then
182182
echo '--> Installing missing pinentry helper for GPG'
183183
sudo apt-get install -y pinentry-tty
184184
# HACK: Restart the gpg agent, to notice the newly installed pinentry.

0 commit comments

Comments
 (0)