fix(inotify extension): avoid typo

Get inotify installed correctly.
This commit is contained in:
Pavel Savushkin 2021-03-20 01:32:39 +02:00
parent b9260fbff6
commit 10386aa7a3
No known key found for this signature in database
GPG Key ID: BD2EDA3E125300DD

View File

@ -634,7 +634,7 @@ RUN if [ ${INSTALL_INOTIFY} = true ]; 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 \
ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/inotify.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/20-inotify.ini; \
else \
pecl -q install inotify && \
echo "extension=inotify.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/inotify.ini && \