Skip to content

Commit c8fa487

Browse files
committed
always force a reinstall as pyenv versions are getting removed everytime
1 parent 0da8924 commit c8fa487

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

scripts/evergreen/setup_aws.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,8 @@ install_aws_cli_pip() {
4848
return 1
4949
fi
5050

51-
# Check if AWS CLI exists and works before installing
52-
if command -v aws &> /dev/null && aws --version &> /dev/null 2>&1; then
53-
echo "AWS CLI is already installed and working"
54-
return 0
55-
fi
56-
5751
echo "Installing AWS CLI using pip3..."
58-
pip3 install --user awscli
52+
pip3 install --user --force-reinstall awscli
5953

6054
# Add ~/.local/bin to PATH if not already there (where pip --user installs)
6155
if [[ ":${PATH}:" != *":${HOME}/.local/bin:"* ]]; then

0 commit comments

Comments
 (0)