Skip to content

Commit

Permalink
Add exit condition if packages are not available to install
Browse files Browse the repository at this point in the history
  • Loading branch information
grdumas committed Dec 12, 2024
1 parent e1c957c commit b83f983
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ for package in "${packages[@]}"; do
sudo dnf install terraform-1.9.8-1 -y
else
echo "package $package is not installed and not available."
exit 1
fi

done
Expand Down

0 comments on commit b83f983

Please sign in to comment.