Skip to content

Commit

Permalink
Improve docs with DEBIAN_FRONTEND=noninteractive in apt-get examples …
Browse files Browse the repository at this point in the history
…[skip ci][ci skip] (#1543)
  • Loading branch information
rfay committed Apr 24, 2019
1 parent 899386b commit beab35d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/users/extending-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ hooks:
- exec: "drush cc all"
- exec: "drush uli"
post-start:
- exec: "sudo apt-get update"
- exec: "sudo apt-get install -y ghostscript sqlite3 php7.2-sqlite3"
```
- exec: bash -c "sudo apt-get update && DEBIAN_FRONTEND=noninteractive sudo apt-get install -y ghostscript sqlite3 php7.2-sqlite3 && sudo killall -HUP php-fpm"```

Example:

Expand Down Expand Up @@ -136,5 +134,5 @@ hooks:
hooks:
post-start:
# Install php modules and then tell php-fpm to reload
- exec: bash -c "sudo apt-get update && sudo apt-get install -y php7.1-ldap php7.1-tidy && killall -HUP php-fpm"
- exec: bash -c "sudo apt-get update && DEBIAN_FRONTEND=noninteractive sudo apt-get install -y php7.1-ldap php7.1-tidy && killall -HUP php-fpm"
```

0 comments on commit beab35d

Please sign in to comment.