Browse Source

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
pull/328/head
poljakowski 1 year ago
parent
commit
c683bce66e
  1. 4
      cdist/conf/explorer/os_version

4
cdist/conf/explorer/os_version vendored

@ -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
;;
*)

Loading…
Cancel
Save