mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
fix de-p1st-gnupg
This commit is contained in:
parent
3c2532f382
commit
e7759f7303
@ -1,5 +1,7 @@
|
||||
function import-pubkey() {
|
||||
# echo to stderr
|
||||
if ! gpg --export-ownertrust | grep --quiet '^94F3D3DDAC22802258FC044B6C47C753F0823002:6:$'; then
|
||||
# Import public key.
|
||||
|
||||
# Write to stderr.
|
||||
echo "Importing public key ..." >&2
|
||||
|
||||
gpg --import /usr/share/gnupg/94F3D3DDAC22802258FC044B6C47C753F0823002.pub || {
|
||||
@ -10,8 +12,4 @@ function import-pubkey() {
|
||||
echo "p1st: Error changing trust!"
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
if ! gpg --export-ownertrust | grep --quiet '^94F3D3DDAC22802258FC044B6C47C753F0823002:6:$'; then
|
||||
import-pubkey
|
||||
fi
|
||||
|
@ -2,7 +2,7 @@
|
||||
_pkgname=gnupg
|
||||
_reponame=arch
|
||||
pkgname="de-p1st-$_pkgname"
|
||||
pkgver=0.0.10
|
||||
pkgver=0.0.11
|
||||
pkgrel=1
|
||||
pkgdesc="gnupg with configuration"
|
||||
arch=('any')
|
||||
|
Loading…
Reference in New Issue
Block a user