From a1fa7db06807ddc099dc00bfff68f6694f74bb61 Mon Sep 17 00:00:00 2001 From: Nils Date: Wed, 17 Feb 2021 13:38:59 +0100 Subject: [PATCH] adjusted bash code for sh --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 2cac9f2..b153c53 100644 --- a/index.html +++ b/index.html @@ -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" -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)" 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 0x49F924B3CEE307B2 echo "keys have been imported"