Created
November 5, 2017 23:13
-
-
Save saidach/3f5a33902d074dc5936280d6fc2a0c5f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
found=`fgrep -c 'NEWRELIC_INFRA="1"' /opt/elasticbeanstalk/support/envvars` | |
echo $found | |
if [ $found -eq 1 ]; then | |
echo "uninstalling newrelic-infra if already installed..." | |
else | |
echo 'NEWRELIC_INFRA is set' | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment