From 9f22ef3ba58bac0771c2c7a2963eb0cd965eea47 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 22 Jul 2024 12:01:50 +0200 Subject: [PATCH] remove check for RHEL only being available on s390x This check was added in 63fb2060c9436bb3ad4434bdbf55f92824428e8e, at which time we did not provide packages fro RHEL on architectures other than s390x. We now provide packages for RHEL 8 and 9 for amd64 (x86), arm64, and s390x, so we can remove this check. Note that we do not (yet?) provide packages for ppc64le, but this is more of a niche use-case, so not adding a special condition for that, as we don't provide that check for other distros. Signed-off-by: Sebastiaan van Stijn --- install.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/install.sh b/install.sh index a740fe3..eb4cc3d 100755 --- a/install.sh +++ b/install.sh @@ -552,11 +552,6 @@ do_install() { exit 0 ;; centos|fedora|rhel) - if [ "$(uname -m)" != "s390x" ] && [ "$lsb_dist" = "rhel" ]; then - echo "Packages for RHEL are currently only available for s390x." - exit 1 - fi - if command_exists dnf; then pkg_manager="dnf" pkg_manager_flags="--best"