mirror of
https://github.com/danog/docker-php-extension-installer.git
synced 2024-12-02 17:38:21 +01:00
14 lines
225 B
Plaintext
14 lines
225 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
set -o errexit
|
||
|
set -o nounset
|
||
|
|
||
|
if test -z "$(php --ri blackfire | grep 'Blackfire => enabled')"; then
|
||
|
echo 'Blackfire PHP Probe is disabled' >&2
|
||
|
rc=1
|
||
|
else
|
||
|
echo 'Blackfire PHP Probe is enabled'
|
||
|
rc=0
|
||
|
fi
|
||
|
exit $rc
|