diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-04-27 15:25:10 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-04-27 15:25:10 +0300 |
commit | 7e2b72d1129cc32937056ed6205fd60ba9553a15 (patch) | |
tree | 93a48caf4216a8937b177a091ab3e35530672821 | |
parent | 9a6d371f9ce08a4f5c911dba2fe77f87d9b3f389 (diff) |
build: use certificates in wget
-rw-r--r-- | etc/ncp-config.d/letsencrypt.sh | 3 | ||||
-rw-r--r-- | install.sh | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/etc/ncp-config.d/letsencrypt.sh b/etc/ncp-config.d/letsencrypt.sh index 1525db5c..a9d480ec 100644 --- a/etc/ncp-config.d/letsencrypt.sh +++ b/etc/ncp-config.d/letsencrypt.sh @@ -38,8 +38,7 @@ install() cd /etc || return 1 apt-get update apt-get install --no-install-recommends -y python2.7-minimal - wget -O- --no-check-certificate --content-disposition \ - https://github.com/letsencrypt/letsencrypt/archive/master/latest.tar.gz \ + wget -O- --content-disposition https://github.com/letsencrypt/letsencrypt/archive/master/latest.tar.gz \ | tar -xz \ || exit 1 mv certbot-master letsencrypt @@ -37,8 +37,7 @@ apt-get update apt-get install --no-install-recommends -y wget ca-certificates sudo rm -rf "$TMPDIR" && mkdir "$TMPDIR" && cd "$TMPDIR" -wget -O- --no-check-certificate --content-disposition \ - https://github.com/nextcloud/nextcloudpi/archive/"$BRANCH"/latest.tar.gz \ +wget -O- --content-disposition https://github.com/nextcloud/nextcloudpi/archive/"$BRANCH"/latest.tar.gz \ | tar -xz \ || exit 1 cd - && cd "$TMPDIR"/nextcloudpi-"$BRANCH" |