1
0
mirror of https://github.com/byReqz/nils.lol.git synced 2024-11-22 10:11:15 +00:00

added gpg keys to bash part

This commit is contained in:
Nils 2021-02-17 09:04:53 +01:00
parent 1451777fca
commit bb35f10a62
Signed by: byreqz
GPG Key ID: 396A62D7D436749E

View File

@ -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