build: use certificates in wget

This commit is contained in:
nachoparker 2018-04-27 14:25:10 +02:00
parent 9a6d371f9c
commit 7e2b72d112
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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"