mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
fix(gpg)
This commit is contained in:
parent
5d27c7e5fe
commit
fc9bc5d47f
2 changed files with 9 additions and 6 deletions
|
@ -1,10 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
d=$(dirname "$0")
|
||||
etc="$d/../etc"
|
||||
etc="$d/../etc/gnupg"
|
||||
|
||||
if [ ! -f "$etc/gpg.conf" ]; then
|
||||
mkdir -p "$etc"
|
||||
chmod 700 "$etc"
|
||||
cat << EOF > "$etc"/gpg.conf
|
||||
use-agent
|
||||
pinentry-mode loopback
|
||||
|
|
|
@ -27,7 +27,7 @@ dependencies:
|
|||
|
||||
runtime:
|
||||
env:
|
||||
GNUPGHOME: "{{prefix}}/etc/gnupg"
|
||||
GNUPGHOME: '{{prefix}}/etc/gnupg'
|
||||
|
||||
build:
|
||||
freedesktop.org/pkg-config: '*'
|
||||
|
@ -40,12 +40,14 @@ build:
|
|||
- run: |
|
||||
sed -i.bak "s|{{prefix}}|\$(dirname \$0)/..|g" gpg-wks-client
|
||||
rm gpg-wks-client.bak
|
||||
working-directory: "{{prefix}}/libexec"
|
||||
- run: mkdir -p var/run etc/gnupg
|
||||
working-directory: "{{prefix}}"
|
||||
working-directory: '{{prefix}}/libexec'
|
||||
- run: |
|
||||
mkdir -p var/run etc/gnupg
|
||||
chmod 700 etc/gnupg
|
||||
working-directory: '{{prefix}}'
|
||||
- run: |
|
||||
mv ./gpg ./gpg-exec
|
||||
working-directory: "{{prefix}}/bin"
|
||||
working-directory: '{{prefix}}/bin'
|
||||
- run: install gpg {{prefix}}/bin/
|
||||
working-directory: props
|
||||
env:
|
||||
|
|
Loading…
Reference in a new issue