mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
buildserver: force no auto updates of package lists or upgrades
This commit is contained in:
parent
8d2092ada1
commit
cd3e531731
1 changed files with 3 additions and 0 deletions
|
@ -12,6 +12,9 @@ printf 'APT::Install-Recommends "0";\nAPT::Install-Suggests "0";\n' \
|
|||
printf 'APT::Acquire::Retries "20";\n' \
|
||||
> /etc/apt/apt.conf.d/99acquire-retries
|
||||
|
||||
printf 'APT::Periodic::Update-Package-Lists "0";\nAPT::Periodic::Unattended-Upgrade "0";\n' \
|
||||
> /etc/apt/apt.conf.d/99no-auto-updates
|
||||
|
||||
if echo $debian_mirror | grep '^https' 2>&1 > /dev/null; then
|
||||
apt-get -y update
|
||||
apt-get -y install apt-transport-https
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue