From bb35f10a629f6f15788e2beccbd05ff24cf3d594 Mon Sep 17 00:00:00 2001 From: Nils Date: Wed, 17 Feb 2021 09:04:53 +0100 Subject: [PATCH] added gpg keys to bash part --- index.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/index.html b/index.html index 15f4244..2cac9f2 100644 --- a/index.html +++ b/index.html @@ -84,4 +84,15 @@ printf " \e[0;36m/ .-. \ \n\e[0m" printf " \e[0;36m/ ( ) _\ \n\e[0m" printf " \e[0;36m/ _.~ ~._^\ \n\e[0m" printf " \e[0;36m/.^ ^.\ \n\e[0m" +if [[ -n $(gpg --version | grep Cipher) ]];then + echo "do you want to import my gpg keys? (Y/n)" + read yn + if [[ $yn == y ]] || [[ $yn == yes ]] || [[ -z $yn ]];then + gpg --recv-keys 0x396A62D7D436749E + gpg --recv-keys 0x49F924B3CEE307B2 + echo "keys have been imported" + else + echo "keys not imported" + fi +fi exit 0