fix(inotify extension): update installed version of the extension
There is a typo which should be fixed. Closes #2867
This commit is contained in:
parent
ac52c18728
commit
6ff934aef2
|
@ -619,7 +619,7 @@ RUN if [ ${INSTALL_LIBPNG} = true ]; then \
|
||||||
ARG INSTALL_INOTIFY=false
|
ARG INSTALL_INOTIFY=false
|
||||||
|
|
||||||
RUN if [ ${INSTALL_INOTIFY} = true ]; then \
|
RUN if [ ${INSTALL_INOTIFY} = true ]; then \
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") != "5" ]; then \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
||||||
pecl -q install inotify-0.1.6 && \
|
pecl -q install inotify-0.1.6 && \
|
||||||
echo "extension=inotify.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/inotify.ini && \
|
echo "extension=inotify.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/inotify.ini && \
|
||||||
ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/inotify.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/20-inotify.ini \
|
ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/inotify.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/20-inotify.ini \
|
||||||
|
|
Loading…
Reference in New Issue