Merge branch 'ander/os_version_debian_sid' into 'master'

[explorer/os_version] add new debian code names: bookworm and trixie

See merge request ungleich-public/cdist!1019
This commit is contained in:
poljakowski 2021-08-24 08:08:59 +02:00
commit c683bce66e

View file

@ -54,6 +54,8 @@ in
# sid versions don't have a number, so we decode by codename:
case $(expr "$debian_version" : '\([a-z]\{1,\}\)/')
in
trixie) echo 12.99 ;;
bookworm) echo 11.99 ;;
bullseye) echo 10.99 ;;
buster) echo 9.99 ;;
stretch) echo 8.99 ;;
@ -61,7 +63,7 @@ in
wheezy) echo 6.99 ;;
squeeze) echo 5.99 ;;
lenny) echo 4.99 ;;
*) exit 1
*) echo 99.99 ;;
esac
;;
*)