summaryrefslogtreecommitdiff
path: root/bin/debian-codename-to-version.sh
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-28 16:38:02 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-28 16:38:02 +0200
commite2fe42af67096c32f1451cb4cccff2751dcccd0e (patch)
tree52bcc9146a4d33851aa44c5f67f2e746ba5eebe0 /bin/debian-codename-to-version.sh
parent86cd189dc89a76dba0987341749e3817b31c8941 (diff)
downloadbuildscripts-e2fe42af67096c32f1451cb4cccff2751dcccd0e.tar.gz
buildscripts-e2fe42af67096c32f1451cb4cccff2751dcccd0e.tar.bz2
buildscripts-e2fe42af67096c32f1451cb4cccff2751dcccd0e.zip
Add support for Debian bookworm, bullseye now is stable.
Diffstat (limited to 'bin/debian-codename-to-version.sh')
-rwxr-xr-xbin/debian-codename-to-version.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/bin/debian-codename-to-version.sh b/bin/debian-codename-to-version.sh
index 1a83217..6445d26 100755
--- a/bin/debian-codename-to-version.sh
+++ b/bin/debian-codename-to-version.sh
@@ -47,12 +47,13 @@ case "${codename}" in
# a bit higher than the current testing version
# (which is known early in advance to the next
# upcoming release).
- ("sid"|"unstable") echo "11.01";;
+ ("sid"|"unstable") echo "12.01";;
- ("bullseye"|"testing") echo "11";;
+ ("bookworm"|"stable") echo "12";;
- ("buster"|"stable") echo "10";;
- ("stretch"|"oldstable") echo "9";;
+ ("bullseye"|"stable") echo "11";;
+ ("buster"|"oldstable") echo "10";;
+ ("stretch"|"oldoldstable") echo "9";;
("jessie") echo "8";;
("wheezy") echo "7";;
("squeeze") echo "6";;