diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2018-01-10 19:38:58 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-01-10 19:38:58 -0500 |
commit | a2cd9d788f7b39e9f17d1fa2dc1382bd2f98e2c1 (patch) | |
tree | f2f5c900f0c9aded26d3d9ca0c25e9a6029a7a9e /.config/login.d/10_gpg.sh | |
parent | 75a63c7e7b3b055198884f31c0d7c516eaf9d32e (diff) | |
parent | 971e265cac74976670da2a87805b644e90826b95 (diff) |
Merge branch 'master' into build64-par/master
Diffstat (limited to '.config/login.d/10_gpg.sh')
-rw-r--r-- | .config/login.d/10_gpg.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/login.d/10_gpg.sh b/.config/login.d/10_gpg.sh index 83e4203..01fcbe2 100644 --- a/.config/login.d/10_gpg.sh +++ b/.config/login.d/10_gpg.sh @@ -1,4 +1,4 @@ #!/hint/sh -if [ -z "$GPGKEY" -a -f "${HOME}/.gnupg/gpg.conf" ]; then +if [ -z "$GPGKEY" -a -f "${GNUPG_HOME:-${HOME}/.gnupg}/gpg.conf" ]; then export GPGKEY=`sed -nr 's/^\s*default-key\s+//p' "${GNUPG_HOME:-${HOME}/.gnupg}/gpg.conf"` fi |