From 6ff934aef26a660cac1190a52ee70209c27902a5 Mon Sep 17 00:00:00 2001 From: Pavel Savushkin Date: Sat, 13 Mar 2021 03:34:25 +0200 Subject: [PATCH] fix(inotify extension): update installed version of the extension There is a typo which should be fixed. Closes #2867 --- workspace/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workspace/Dockerfile b/workspace/Dockerfile index 1225fc8..bef655b 100644 --- a/workspace/Dockerfile +++ b/workspace/Dockerfile @@ -619,7 +619,7 @@ RUN if [ ${INSTALL_LIBPNG} = true ]; then \ ARG INSTALL_INOTIFY=false 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 && \ 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 \