Update hardcoding of the name of the testing security suite

The name changed in bullseye from testing/updates to testing-security.

Fixes: Downloading /srv/mirrors/debian-security/dists/testing/updates/main/source/Sources failed, Sources-security-testing_main is stale now
parent f00eece1
...@@ -33,12 +33,13 @@ fi ...@@ -33,12 +33,13 @@ fi
official_distros="stable testing unstable experimental" official_distros="stable testing unstable experimental"
pu_distros="stable-updates stable-proposed-updates testing-proposed-updates" pu_distros="stable-updates stable-proposed-updates testing-proposed-updates"
security_distros="stable testing" old_security_distros="stable"
security_distros="testing"
backports_distros="stable-backports" backports_distros="stable-backports"
if [ -z "$disable_oldstable" ]; then if [ -z "$disable_oldstable" ]; then
official_distros="oldstable $official_distros" official_distros="oldstable $official_distros"
security_distros="oldstable $security_distros" old_security_distros="oldstable $old_security_distros"
if [ -z "$disable_oldstable_lts" ]; then if [ -z "$disable_oldstable_lts" ]; then
pu_distros="oldstable-updates oldstable-proposed-updates $pu_distros" pu_distros="oldstable-updates oldstable-proposed-updates $pu_distros"
backports_distros="oldstable-backports oldstable-backports-sloppy $backports_distros" backports_distros="oldstable-backports oldstable-backports-sloppy $backports_distros"
...@@ -48,7 +49,7 @@ fi ...@@ -48,7 +49,7 @@ fi
if [ -z "$disable_oldoldstable" ]; then if [ -z "$disable_oldoldstable" ]; then
official_distros="oldoldstable $official_distros" official_distros="oldoldstable $official_distros"
pu_distros="oldoldstable-updates oldoldstable-proposed-updates $pu_distros" pu_distros="oldoldstable-updates oldoldstable-proposed-updates $pu_distros"
security_distros="oldoldstable $security_distros" old_security_distros="oldoldstable $old_security_distros"
backports_distros="oldoldstable-backports oldoldstable-backports-sloppy $backports_distros" backports_distros="oldoldstable-backports oldoldstable-backports-sloppy $backports_distros"
fi fi
...@@ -132,10 +133,14 @@ do ...@@ -132,10 +133,14 @@ do
get_src $mirror/dists/$dist/$comp/source/Sources \ get_src $mirror/dists/$dist/$comp/source/Sources \
Sources-${dist}_$comp Sources-${dist}_$comp
done done
for dist in $security_distros ; do for dist in $old_security_distros ; do
get_src $security/dists/$dist/updates/$comp/source/Sources \ get_src $security/dists/$dist/updates/$comp/source/Sources \
Sources-security-${dist}_$comp Sources-security-${dist}_$comp
done done
for dist in $security_distros ; do
get_src $security/dists/$dist-security/$comp/source/Sources \
Sources-security-${dist}_$comp
done
done done
for comp in main contrib non-free for comp in main contrib non-free
do do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment