wip/fix
This commit is contained in:
parent
0b9cae5ceb
commit
47e8c6ffca
1 changed files with 2 additions and 2 deletions
4
cd.sh
4
cd.sh
|
@ -48,12 +48,12 @@ cd_set_environment_variables () {
|
||||||
"almalinux")
|
"almalinux")
|
||||||
CD_OS_ID="${CD_OS_ALMA}"
|
CD_OS_ID="${CD_OS_ALMA}"
|
||||||
CD_OS_VERSION=$(cd_grep_os VERSION_ID \
|
CD_OS_VERSION=$(cd_grep_os VERSION_ID \
|
||||||
| sed "s|^\([0-9]\+\)\..*|\1|" )
|
| sed "s|^\([0-9]\+\)\..*|\1|")
|
||||||
;;
|
;;
|
||||||
"alpine")
|
"alpine")
|
||||||
CD_OS_ID="${CD_OS_ALPINE}"
|
CD_OS_ID="${CD_OS_ALPINE}"
|
||||||
CD_OS_VERSION=$(cd_grep_os VERSION_ID \
|
CD_OS_VERSION=$(cd_grep_os VERSION_ID \
|
||||||
| sed "s|^\([0-9]\+\.[0-9]\+\)\..*|\1|" )
|
| sed "s|^\([0-9]\+\.[0-9]\+\)\..*|\1|")
|
||||||
;;
|
;;
|
||||||
"debian")
|
"debian")
|
||||||
CD_OS_ID="${CD_OS_DEBIAN}"
|
CD_OS_ID="${CD_OS_DEBIAN}"
|
||||||
|
|
Loading…
Reference in a new issue