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:
parent
d9e9cc20aa
commit
ee509782a2
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user