This commit is contained in:
Marc Beninca 2024-06-24 11:35:40 +02:00
parent 57a54c31d5
commit 3a5a670311
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

16
pidd.sh
View file

@ -61,14 +61,14 @@ pidd_set_environment_variables() {
# set operating system id # set operating system id
PIDD_OS_ID="$(pidd_grep_os ID)" PIDD_OS_ID="$(pidd_grep_os ID)"
case "${PIDD_OS_ID}" in case "${PIDD_OS_ID}" in
"almalinux") PIDD_OS_ID="${PIDD_OS_ALMA}" ;; "almalinux") PIDD_OS_ID="${PIDD_OS_ALMA}" ;;
"alpine") PIDD_OS_ID="${PIDD_OS_ALPINE}" ;; "alpine") PIDD_OS_ID="${PIDD_OS_ALPINE}" ;;
"arch") PIDD_OS_ID="${PIDD_OS_ARCH}" ;; "arch") PIDD_OS_ID="${PIDD_OS_ARCH}" ;;
"debian") PIDD_OS_ID="${PIDD_OS_DEBIAN}" ;; "debian") PIDD_OS_ID="${PIDD_OS_DEBIAN}" ;;
"fedora") PIDD_OS_ID="${PIDD_OS_FEDORA}" ;; "fedora") PIDD_OS_ID="${PIDD_OS_FEDORA}" ;;
"rocky") PIDD_OS_ID="${PIDD_OS_ROCKY}" ;; "rocky") PIDD_OS_ID="${PIDD_OS_ROCKY}" ;;
"ubuntu") PIDD_OS_ID="${PIDD_OS_UBUNTU}" ;; "ubuntu") PIDD_OS_ID="${PIDD_OS_UBUNTU}" ;;
*) pidd_error_os "PIDD_OS_ID" ;; *) pidd_error_os "PIDD_OS_ID" ;;
esac esac
# set operating system version # set operating system version
case "${PIDD_OS_ID}" in case "${PIDD_OS_ID}" in