Skip to content

Instantly share code, notes, and snippets.

@saidach
Created November 5, 2017 23:26
Show Gist options
  • Save saidach/199bde7204762e2afd9ffbacb6c7c005 to your computer and use it in GitHub Desktop.
Save saidach/199bde7204762e2afd9ffbacb6c7c005 to your computer and use it in GitHub Desktop.
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