Created
November 5, 2017 23:26
-
-
Save saidach/199bde7204762e2afd9ffbacb6c7c005 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 'NEWRELIC_INFRA is set' | |
else | |
echo "uninstalling newrelic-infra if already installed..." | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment