diff --git a/update_clamav-unofficial-sigs.sh b/update_clamav-unofficial-sigs.sh index 0cd7daf..3719eab 100755 --- a/update_clamav-unofficial-sigs.sh +++ b/update_clamav-unofficial-sigs.sh @@ -678,8 +678,25 @@ if [[ -d "/tmp/clamav-unofficial-sigs" ]]; then fi git clone https://github.com/extremeshok/clamav-unofficial-sigs.git /tmp/clamav-unofficial-sigs > $log_file 2>&1 if [[ "$?" -ne 0 ]] ; then - installation_failed=true error "$(cat $log_file)" + echo "" + echo " Command was:" + echo " git clone https://github.com/extremeshok/clamav-unofficial-sigs.git /tmp/clamav-unofficial-sigs" + echo "" + echo " Not recomend, but you can try:" + echo " GIT_SSL_NO_VERIFY=true git clone ..." + echo "" + installation_failed=true + + echononl "continue anyway [yes/no]: " + read OK + OK="$(echo "$OK" | tr '[:upper:]' '[:lower:]')" + while [[ "$OK" != "yes" ]] && [[ "$OK" != "no" ]] ; do + echononl "Wrong entry! - repeat [yes/nno]: " + read OK + done + [[ $OK = "yes" ]] || fatal "Abbruch durch User" + fi if ! $installation_failed ; then echo_ok