diff --git a/pidd.sh b/pidd.sh index e947824..046b2f7 100644 --- a/pidd.sh +++ b/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|") ;;