From 45c04f3502d0398a45382e192c86bd9b106587ee Mon Sep 17 00:00:00 2001 From: Derek Nola Date: Tue, 6 Aug 2024 11:13:29 -0700 Subject: [PATCH] Allow Amazon Linux 2023 rpm installs Signed-off-by: Derek Nola Co-Authored-By: ahmedali6 <87921765+ahmedali6@users.noreply.github.com> --- install.sh | 3 ++- install.sh.sha256sum | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 502c461961..3606e7349f 100755 --- a/install.sh +++ b/install.sh @@ -637,7 +637,8 @@ setup_selinux() { } install_selinux_rpm() { - if [ -r /etc/redhat-release ] || [ -r /etc/centos-release ] || [ -r /etc/oracle-release ] || [ -r /etc/fedora-release ] || [ "${ID_LIKE%%[ ]*}" = "suse" ]; then + if [ -r /etc/redhat-release ] || [ -r /etc/centos-release ] || [ -r /etc/oracle-release ] || + [ -r /etc/fedora-release ] || [ -r /etc/system-release ] || [ "${ID_LIKE%%[ ]*}" = "suse" ]; then repodir=/etc/yum.repos.d if [ -d /etc/zypp/repos.d ]; then repodir=/etc/zypp/repos.d diff --git a/install.sh.sha256sum b/install.sh.sha256sum index a9299f3af2..6f6cbfb93a 100644 --- a/install.sh.sha256sum +++ b/install.sh.sha256sum @@ -1 +1 @@ -e10b36efb5e7e7692f144582d09f5909a91c5b5996965d643dbe13282befcfc1 install.sh +678e37945882e520533561514c3c1348efd298a3695cd9639934dade96d23c74 install.sh