Skip to content

Commit

Permalink
Allow Amazon Linux 2 rpm installs
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Nola <[email protected]>
  • Loading branch information
dereknola committed Aug 6, 2024
1 parent 72244fd commit 2bfceac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ setup_selinux() {
rpm_target=coreos
rpm_site_infix=coreos
package_installer=rpm-ostree
elif [ "${VERSION_ID%%.*}" = "7" ]; then
elif [ "${VERSION_ID%%.*}" = "7" ] || ( [ "${ID:-}" = amzn ] && [ "${VERSION_ID%%.*}" = "2" ] ); then
rpm_target=el7
rpm_site_infix=centos/7
package_installer=yum
Expand Down
2 changes: 1 addition & 1 deletion install.sh.sha256sum
Original file line number Diff line number Diff line change
@@ -1 +1 @@
64fcaa54f45f829ca3e4f4bb5cc8b42542c327bf194121439d45b436af1e456f install.sh
f6a753e5633949763e652b8a85b92e93166b989719fd857ebca92061691ed21f install.sh

0 comments on commit 2bfceac

Please sign in to comment.