summaryrefslogtreecommitdiff
path: root/.config/login.d/10_gpg.sh
blob: 83e4203588a8f1366126204acc3267c80f369674 (plain)
1
2
3
4
#!/hint/sh
if [ -z "$GPGKEY" -a -f "${HOME}/.gnupg/gpg.conf" ]; then
	export GPGKEY=`sed -nr 's/^\s*default-key\s+//p' "${GNUPG_HOME:-${HOME}/.gnupg}/gpg.conf"`
fi