From 7a739fae02e86240e373fac0f3432f0635fae797 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Tue, 15 Jun 2021 12:51:49 +0200 Subject: [PATCH] gnupg --- pkg/de-p1st-gnupg/99_import_pubkey.sh | 3 ++- pkg/de-p1st-gnupg/PKGBUILD | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pkg/de-p1st-gnupg/99_import_pubkey.sh b/pkg/de-p1st-gnupg/99_import_pubkey.sh index bbe9fc9..dd42650 100644 --- a/pkg/de-p1st-gnupg/99_import_pubkey.sh +++ b/pkg/de-p1st-gnupg/99_import_pubkey.sh @@ -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!"; diff --git a/pkg/de-p1st-gnupg/PKGBUILD b/pkg/de-p1st-gnupg/PKGBUILD index d823fcd..8c8c5f8 100644 --- a/pkg/de-p1st-gnupg/PKGBUILD +++ b/pkg/de-p1st-gnupg/PKGBUILD @@ -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 }