gpg-agent mkdir

This commit is contained in:
Théophile Bastian 2016-09-04 15:07:40 +02:00
parent e90b8713df
commit 4d833a69e8

View file

@ -1,5 +1,7 @@
#!/bin/bash
mkdir -p ~/.gnupg
# Start the gpg-agent if not already running
if ! pgrep -x -u "${USER}" gpg-agent >/dev/null 2>&1; then
gpg-connect-agent /bye >/dev/null 2>&1