Browse Source

Allow Amazon Linux 2023 rpm installs

Signed-off-by: Derek Nola <derek.nola@suse.com>
Co-Authored-By: ahmedali6 <87921765+ahmedali6@users.noreply.github.com>
pull/10687/head
Derek Nola 4 months ago
parent
commit
45c04f3502
  1. 3
      install.sh
  2. 2
      install.sh.sha256sum

3
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

2
install.sh.sha256sum

@ -1 +1 @@
e10b36efb5e7e7692f144582d09f5909a91c5b5996965d643dbe13282befcfc1 install.sh
678e37945882e520533561514c3c1348efd298a3695cd9639934dade96d23c74 install.sh

Loading…
Cancel
Save