From 40485f10f067c1c2fc901322951f732795c42172 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Thu, 1 Mar 2018 20:53:57 -0800 Subject: [PATCH] Conditional gpg. --- install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install.sh b/install.sh index d59851a..26f5700 100755 --- a/install.sh +++ b/install.sh @@ -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