split
This commit is contained in:
parent
d3d54bd2be
commit
7fc3f088cc
1 changed files with 2 additions and 1 deletions
3
pidd.sh
3
pidd.sh
|
@ -72,7 +72,8 @@ pidd_set_environment_variables() {
|
|||
esac
|
||||
# set operating system version
|
||||
case "${PIDD_OS_ID}" in
|
||||
"${PIDD_OS_ALMA}" | "${PIDD_OS_ARCH}" | "${PIDD_OS_FEDORA}" | "${PIDD_OS_ROCKY}")
|
||||
"${PIDD_OS_ALMA}" | "${PIDD_OS_FEDORA}" | "${PIDD_OS_ROCKY}" | \
|
||||
"${PIDD_OS_ARCH}")
|
||||
PIDD_OS_VERSION=$(pidd_grep_os VERSION_ID |
|
||||
sed "s|^\([0-9]\+\)\..*|\1|")
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue