diff --git a/src/bee-download.sh.in b/src/bee-download.sh.in index cb9b881..faa81f7 100644 --- a/src/bee-download.sh.in +++ b/src/bee-download.sh.in @@ -91,7 +91,6 @@ function download_http() { trap "rm -f ${destination}" EXIT wget \ - --no-check-certificate \ --output-document=${destination} \ --no-clobber \ ${repository_url} diff --git a/src/beesh.sh.in b/src/beesh.sh.in index df30249..394af5b 100644 --- a/src/beesh.sh.in +++ b/src/beesh.sh.in @@ -262,12 +262,6 @@ function fetch_one_file() { print_info "copying file ${url}" cp -v "${url}" "${F}/${file}" else - if [ "${url:0:5}" == "https" ] ; then - nocheck="--no-check-certificate" - else - nocheck="" - fi - if [ ! -s "${F}/${file}" ] ; then rm -vf "${F}/${file}" fi @@ -276,7 +270,6 @@ function fetch_one_file() { print_info "fetching $url" wget \ - ${nocheck} \ --output-document="${F}/${file}" \ --no-clobber \ --timeout=60 \