1
0

fix: do not use custom sources.list on debian 12 bookworm

This commit is contained in:
dump_stack() 2023-05-24 12:38:54 +00:00
parent 93f66b08f4
commit a4b20299cd
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -43,6 +43,7 @@ for version in 7 8 9 10 11 12; do
if [[ $version -eq 12 ]]; then
repository=http://deb.debian.org/debian
sed -i '/sources.list/d' 12/Dockerfile
else
repository=$(wget -q -O - https://cdimage.debian.org/mirror/cdimage/archive/${last_version}/amd64/jigdo-bd/debian-${last_version}-amd64-BD-1.jigdo | gunzip | awk -F= '/snapshot.debian.org/ {print $2}' | cut -d ' ' -f 1)
fi