mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
fix(gpg)
maybe. hopefully.
This commit is contained in:
parent
f52badaf80
commit
3572a04c7f
2 changed files with 0 additions and 3 deletions
|
@ -5,7 +5,6 @@ etc="$d/../etc/gnupg"
|
|||
|
||||
export GNUPGHOME="${GNUPGHOME:-"$etc"}"
|
||||
|
||||
if [ ! -f "$etc/gpg.conf" ]; then
|
||||
mkdir -p "$etc"
|
||||
chmod 700 "$etc"
|
||||
cat << EOF > "$etc"/gpg.conf
|
||||
|
@ -13,6 +12,5 @@ use-agent
|
|||
pinentry-mode loopback
|
||||
agent-program $d/gpg-agent
|
||||
EOF
|
||||
fi
|
||||
|
||||
exec "$d"/gpg-exec "$@"
|
|
@ -44,7 +44,6 @@ build:
|
|||
- run: |
|
||||
mkdir -p var/run etc/gnupg
|
||||
chmod 700 etc/gnupg
|
||||
rm -f etc/gnupg/gpg.conf
|
||||
working-directory: '{{prefix}}'
|
||||
- run: |
|
||||
mv ./gpg ./gpg-exec
|
||||
|
|
Loading…
Reference in a new issue