1
0
This commit is contained in:
dump_stack() 2023-05-12 02:05:36 +00:00
parent 61ac856afb
commit 310999744e
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -6,24 +6,24 @@ cd $(dirname $(realpath $0))
for version in 7 8 9 10 11; do for version in 7 8 9 10 11; do
if [[ $version -eq 7 ]]; then if [[ $version -eq 7 ]]; then
release=wheezy release=wheezy
last_version=7.11.0 last_version=7.11.0
fi fi
if [[ $version -eq 8 ]]; then if [[ $version -eq 8 ]]; then
release=jessie release=jessie
last_version=8.11.1 last_version=8.11.1
fi fi
if [[ $version -eq 9 ]]; then if [[ $version -eq 9 ]]; then
release=stretch release=stretch
last_version=9.13.0 last_version=9.13.0
fi fi
if [[ $version -eq 10 ]]; then if [[ $version -eq 10 ]]; then
release=buster release=buster
last_version=10.13.0 last_version=10.13.0
fi fi
if [[ $version -eq 11 ]]; then if [[ $version -eq 11 ]]; then
release=bullseye release=bullseye
last_version=11.6.0 last_version=11.6.0
fi fi
mkdir $version mkdir $version
@ -32,7 +32,7 @@ for version in 7 8 9 10 11; do
sed -i "s/_RELEASE_/${release}/" $version/Dockerfile sed -i "s/_RELEASE_/${release}/" $version/Dockerfile
if [[ $version -eq 11 ]]; then if [[ $version -eq 11 ]]; then
sed -i "s/,policykit-1//" $version/Dockerfile sed -i "s/,policykit-1//" $version/Dockerfile
fi fi
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) 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)