From fede4055495a9d44efbb65848eb7799771d23f9b Mon Sep 17 00:00:00 2001 From: Mark Phippard Date: Mon, 19 Dec 2022 11:25:32 -0500 Subject: Add support for mariner (#344) --- src/common-utils/main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common-utils') diff --git a/src/common-utils/main.sh b/src/common-utils/main.sh index 63f64ab..f0fedcf 100644 --- a/src/common-utils/main.sh +++ b/src/common-utils/main.sh @@ -289,7 +289,7 @@ chmod +x /etc/profile.d/00-restore-env.sh # Get an adjusted ID independant of distro variants if [ "${ID}" = "debian" ] || [ "${ID_LIKE}" = "debian" ]; then ADJUSTED_ID="debian" -elif [[ "${ID}" = "rhel" || "${ID}" = "fedora" || "${ID_LIKE}" = *"rhel"* || "${ID_LIKE}" = *"fedora"* ]]; then +elif [[ "${ID}" = "rhel" || "${ID}" = "fedora" || "${ID}" = "mariner" || "${ID_LIKE}" = *"rhel"* || "${ID_LIKE}" = *"fedora"* || "${ID_LIKE}" = *"mariner"* ]]; then ADJUSTED_ID="rhel" elif [ "${ID}" = "alpine" ]; then ADJUSTED_ID="alpine" -- cgit v1.2.3