Skip to content

Commit 0e12488

Browse files
committed
fixup! (PA-6677) Restore support for AL2 x86_64 install_shell task
1 parent 2252c3a commit 0e12488

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/install_shell.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -659,9 +659,9 @@ case $platform in
659659
platform_package="el"
660660
arch="$(uname -p)"
661661
# Install amazon packages on AL2 (only aarch64) and 2003 and up (all arch)
662-
if (( $platform_version == 2 && $arch == 'x86_64' )); then
662+
if [[ $platform_version == 2 && $arch == 'x86_64' ]]; then
663663
platform_version="7"
664-
elif (( $platform_version == 2 || $platform_version >= 2023 )); then
664+
elif (( platform_version == 2 || platform_version >= 2023 )); then
665665
platform_package="amazon"
666666
fi
667667
filename="${collection}-release-${platform_package}-${platform_version}.noarch.rpm"

0 commit comments

Comments
 (0)