Skip to content

Commit

Permalink
Merge pull request #58 from couchbase-partners/FixScriptsFor722Plus
Browse files Browse the repository at this point in the history
Fix issues with Amazon Linux 2023
  • Loading branch information
malscent authored Sep 26, 2024
2 parents 5b9b6a6 + bee1ce7 commit a6b00a6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions installers/installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,13 @@ function __amazon_prerequisites() {
OS_VERSION=$(awk '/^VERSION_ID=/{print $1}' /etc/os-release | awk -F"=" '{print $2}' | sed -e 's/^"//' -e 's/"$//')
if [[ "$OS_VERSION" == "2" ]]; then
amazon-linux-extras install epel
yum install jq net-tools python2 python-pip wget -q -y
python2 -m pip -q install httplib2
else
yum install jq net-tools python-pip wget -q -y
python3 -m pip -q install httplib2
fi
yum install jq net-tools python2 python-pip wget -q -y
python2 -m pip -q install httplib2

}

function __install_prerequisites() {
Expand Down

0 comments on commit a6b00a6

Please sign in to comment.