Conditional gpg.

This commit is contained in:
David Tomaschik
2018-03-01 20:53:57 -08:00
parent b5ef3c37e4
commit 40485f10f0

View File

@@ -183,6 +183,8 @@ install_ssh_keys() {
}
install_gpg_keys() {
which gpg >/dev/null 2>&1 || \
return 0
local key
for key in ${BASEDIR}/keys/gpg/* ; do
gpg --import < ${key} >/dev/null