mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 06:52:39 +03: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
1 changed files with 6 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue