Skip to content

Commit 5461f23

Browse files
chore: commented php_agent download command
1 parent 9608924 commit 5461f23

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

recipes/newrelic/apm/php/debian.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,6 @@ install:
375375
cmds:
376376
- |
377377
echo -e "{{.ARROW}}Installing New Relic PHP Agent package{{.GRAY}}"
378-
sudo DEBIAN_FRONTEND=noninteractive apt-get install newrelic-php5 -y -qq
379378
silent: true
380379

381380
install_tarball:
@@ -406,12 +405,11 @@ install:
406405
AGENT_TARBALL="$AGENT.tar.gz"
407406
# Lack of '/' is important. See above comment where $RELEASE_URL is
408407
# defined. An extraneous '/' here treats the URL as an HTML doc.
409-
curl -s "$RELEASE_URL$AGENT_TARBALL" -o "$AGENT_TARBALL"
408+
curl -s -O "$RELEASE_URL$AGENT_TARBALL"
410409
gzip -dc "$AGENT_TARBALL" | tar xf -
411-
pushd "$AGENT" > /dev/null
410+
cd "$AGENT"
412411
echo -e "{{.WHITE}}Running PHP Agent installer{{.GRAY}}"
413412
NR_INSTALL_USE_CP_NOT_LN=1 NR_INSTALL_SILENT=true NR_INSTALL_KEY="{{.NEW_RELIC_LICENSE_KEY}}" ./newrelic-install install
414-
popd > /dev/null
415413
416414
configure:
417415
cmds:

0 commit comments

Comments
 (0)