This commit is contained in:
Daniel Langbein 2021-06-15 12:51:49 +02:00
parent 0721effd72
commit 7a739fae02
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,6 @@
function import-pubkey() {
echo "Importing public key ..."
# echo to stderr
echo "Importing public key ..." >&2
gpg --import /usr/share/gnupg/94F3D3DDAC22802258FC044B6C47C753F0823002.pub || {
echo "p1st: Error importing pubkey!";

View File

@ -2,7 +2,7 @@
_pkgname=gnupg
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.0.6
pkgver=0.0.7
pkgrel=1
pkgdesc="gnupg with configuration"
arch=('any')
@ -35,5 +35,6 @@ package() {
install -Dm0544 interactive-shell.holoscript "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/bash.bashrc.holoscript
install -Dm0544 interactive-shell.holoscript "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/zsh/zshrc.holoscript
install -Dm0644 94F3D3DDAC22802258FC044B6C47C753F0823002.pub "$pkgdir"/usr/share/gnupg/94F3D3DDAC22802258FC044B6C47C753F0823002.pub
install -Dm0644 99_import_pubkey.sh "$pkgdir"/etc/profile.d/99_import_pubkey.sh
}