This commit is contained in:
Marc Beninca 2024-05-04 13:36:19 +02:00
parent 0b9cae5ceb
commit 47e8c6ffca
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

4
cd.sh
View file

@ -48,12 +48,12 @@ cd_set_environment_variables () {
"almalinux")
CD_OS_ID="${CD_OS_ALMA}"
CD_OS_VERSION=$(cd_grep_os VERSION_ID \
| sed "s|^\([0-9]\+\)\..*|\1|" )
| sed "s|^\([0-9]\+\)\..*|\1|")
;;
"alpine")
CD_OS_ID="${CD_OS_ALPINE}"
CD_OS_VERSION=$(cd_grep_os VERSION_ID \
| sed "s|^\([0-9]\+\.[0-9]\+\)\..*|\1|" )
| sed "s|^\([0-9]\+\.[0-9]\+\)\..*|\1|")
;;
"debian")
CD_OS_ID="${CD_OS_DEBIAN}"