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

adjusted bash code for sh

This commit is contained in:
Nils 2021-02-17 13:38:59 +01:00
parent bb35f10a62
commit a1fa7db068
Signed by: byreqz
GPG Key ID: 396A62D7D436749E

View File

@ -84,10 +84,10 @@ 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" 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 if [ -n "$(gpg --version | grep Cipher)" ];then
echo "do you want to import my gpg keys? (Y/n)" echo "do you want to import my gpg keys? (Y/n)"
read yn read yn
if [[ $yn == y ]] || [[ $yn == yes ]] || [[ -z $yn ]];then if [ "$yn" = y ] || [ "$yn" = yes ] || [ -z "$yn" ];then
gpg --recv-keys 0x396A62D7D436749E gpg --recv-keys 0x396A62D7D436749E
gpg --recv-keys 0x49F924B3CEE307B2 gpg --recv-keys 0x49F924B3CEE307B2
echo "keys have been imported" echo "keys have been imported"