mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-05 18:50:09 +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:
parent
6b03f995be
commit
ae86dc3d38
@ -22,6 +22,11 @@ EOF
|
|||||||
printf 'APT::Get::Assume-Yes "true";\n' \
|
printf 'APT::Get::Assume-Yes "true";\n' \
|
||||||
> /etc/apt/apt.conf.d/99assumeyes
|
> /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
|
if echo $debian_mirror | grep '^https' 2>&1 > /dev/null; then
|
||||||
apt-get update || apt-get update
|
apt-get update || apt-get update
|
||||||
apt-get install apt-transport-https ca-certificates
|
apt-get install apt-transport-https ca-certificates
|
||||||
|
Loading…
Reference in New Issue
Block a user