Skip to content
Snippets Groups Projects
Commit 54ca7fbf authored by akwizgran's avatar akwizgran
Browse files

Ignore expired package releases.

parent 5c1131bc
No related branches found
Tags release-0.1.1
1 merge request!11Simplify zip paths, update Go and NDK
......@@ -9,11 +9,8 @@ deb http://snapshot.debian.org/archive/debian/${DATE}/ bullseye main
deb http://snapshot.debian.org/archive/debian/${DATE}/ bullseye-updates main
EOF
# ignore expired package releases if env variable is set
if [[ "${IGNORE_EXPIRY}" = "1" ]]
then
echo 'Acquire::Check-Valid-Until "0";' >> /etc/apt/apt.conf.d/10-ignore-expiry
fi
# ignore expired package releases so we can reproduce from old snapshots
echo 'Acquire::Check-Valid-Until "0";' >> /etc/apt/apt.conf.d/10-ignore-expiry
# update package sources
apt-get update
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment