1
0

Remove policykit-1 on Debian 11

This commit is contained in:
dump_stack() 2023-05-12 01:40:03 +00:00
parent 8b807a7e77
commit 995f24fdc4
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -31,6 +31,10 @@ for version in 7 8 9 10 11; do
sed "s/_VERSION_/${version}/" Dockerfile.template >> $version/Dockerfile
sed -i "s/_RELEASE_/${release}/" $version/Dockerfile
if [[ $version -eq 11 ]]; then
sed -i "s/,policykit-1//" $version/Dockerfile
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)
sed -i "s;_REPOSITORY_;${repository};" $version/Dockerfile