diff --git a/install.sh b/install.sh index dd3504b18c7e9b3ec0ee9c4a4a5e26099919e402..dc582c57a98baf55157dd810a43f7ad9c9390cb6 100755 --- a/install.sh +++ b/install.sh @@ -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