1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-20 13:50:12 +01:00

buildserver: apt-transport-https needs ca-certificates

ca-certificates is set as Recommends: but for our use cases it is required
since without it, standard CA-signed certs fail to validate.
This commit is contained in:
Hans-Christoph Steiner 2018-09-19 08:51:12 +02:00
parent d9e9cc20aa
commit ee509782a2

View File

@ -17,7 +17,7 @@ printf 'APT::Periodic::Update-Package-Lists "0";\nAPT::Periodic::Unattended-Upgr
if echo $debian_mirror | grep '^https' 2>&1 > /dev/null; then if echo $debian_mirror | grep '^https' 2>&1 > /dev/null; then
apt-get -y update apt-get -y update
apt-get -y install apt-transport-https apt-get -y install apt-transport-https ca-certificates
fi fi
sed -Ei "s,^deb [a-z]+://\S+,deb ${debian_mirror}," /etc/apt/sources.list sed -Ei "s,^deb [a-z]+://\S+,deb ${debian_mirror}," /etc/apt/sources.list