1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-07-07 01:40:10 +02:00

buildserver: set quiet options to stop apt-get spamming build logs

https://gitlab.com/fdroid/fdroidserver/issues/636#note_266483988
This commit is contained in:
Hans-Christoph Steiner 2020-01-14 23:14:45 +01:00
parent 6b03f995be
commit ae86dc3d38

View File

@ -22,6 +22,11 @@ EOF
printf 'APT::Get::Assume-Yes "true";\n' \
> /etc/apt/apt.conf.d/99assumeyes
cat <<EOF > /etc/apt/apt.conf.d/99quiet
Dpkg::Use-Pty "0";'
quiet "1";'
EOF
if echo $debian_mirror | grep '^https' 2>&1 > /dev/null; then
apt-get update || apt-get update
apt-get install apt-transport-https ca-certificates