Skip to content

Commit

Permalink
fixup! (PA-6677) Restore support for AL2 x86_64 install_shell task
Browse files Browse the repository at this point in the history
  • Loading branch information
joshcooper committed Jun 24, 2024
1 parent 2252c3a commit 0e12488
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/install_shell.sh
Original file line number Diff line number Diff line change
Expand Up @@ -659,9 +659,9 @@ case $platform in
platform_package="el"
arch="$(uname -p)"
# Install amazon packages on AL2 (only aarch64) and 2003 and up (all arch)
if (( $platform_version == 2 && $arch == 'x86_64' )); then
if [[ $platform_version == 2 && $arch == 'x86_64' ]]; then
platform_version="7"
elif (( $platform_version == 2 || $platform_version >= 2023 )); then
elif (( platform_version == 2 || platform_version >= 2023 )); then
platform_package="amazon"
fi
filename="${collection}-release-${platform_package}-${platform_version}.noarch.rpm"
Expand Down

0 comments on commit 0e12488

Please sign in to comment.