mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
build: use certificates in wget
This commit is contained in:
parent
9a6d371f9c
commit
7e2b72d112
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user