From bf6e7bd3155e871ff1583608790dc5aed5a94ac9 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Tue, 16 Feb 2016 13:25:14 -0800 Subject: [PATCH] Refresh GPG keys on install. --- install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install.sh b/install.sh index bafbb6b..402cd47 100755 --- a/install.sh +++ b/install.sh @@ -84,6 +84,12 @@ function postinstall { # Install other useful tools install_git https://github.com/trustedsec/ptf.git ${HOME}/bin/ptframework && \ add_bin_symlink ${HOME}/bin/ptframework/ptf + # Refresh all gpg keys + if test -x "`which gpg2`" ; then + gpg2 --refresh-keys + else + gpg --refresh-keys + fi } function ssh_key_already_installed {