diff options
author | Etienne Perot | 2019-05-27 16:43:40 -0700 |
---|---|---|
committer | Etienne Perot | 2019-05-27 16:43:40 -0700 |
commit | b32084bfb8c65d8afbdc3369f041d0211f877cf5 (patch) | |
tree | 6740ab004ba3a787129900f0b92f0b15d8bea114 | |
parent | 3051046296e4f6d1e87980b8fa4749b57ecb4449 (diff) | |
download | aur-b32084bfb8c65d8afbdc3369f041d0211f877cf5.tar.gz |
Update GPG invocation in PKGBUILD.
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,7 +2,7 @@ # Contributor: Etienne Perot <etienne at perot dot me> pkgname=parcimonie-sh-git -pkgver=72.03713bb +pkgver=73.551999c pkgrel=1 pkgdesc='Bash reimplementation of parcimonie - Refresh your GnuPG keyring without disclosing your whole contact list to the world' arch=('any') @@ -27,7 +27,7 @@ check() { mkdir -p "$GNUPGHOME" chmod 700 "$GNUPGHOME" gpg --import < "${srcdir}/pgp-key" - gpgKeyId="$(gpg --batch --with-colons < "${srcdir}/pgp-key" | grep '^sub:' | head -1 | cut -d ':' -f 5)" + gpgKeyId="$(gpg --show-key --batch --with-colons < "$srcdir/pgp-key" | grep '^sub:' | head -1 | cut -d ':' -f 5)" git log --max-count=1 --pretty="format:%H,%G?,%GK" HEAD | grep -q ",[GU],${gpgKeyId}\$" returnValue="$?" if [ "$returnValue" -eq 0 ]; then |