syntax fix

This commit is contained in:
东子 2022-12-14 02:02:40 +00:00
parent 480fe10084
commit 6881e4bcb4
2 changed files with 4 additions and 4 deletions

View File

@ -222,7 +222,7 @@ RUN if [ ${INSTALL_XDEBUG} = true ]; then \
pecl install xdebug-3.2.0; \ pecl install xdebug-3.2.0; \
else \ else \
pecl install xdebug-3.1.4; \ pecl install xdebug-3.1.4; \
fi \ fi && \
else \ else \
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \ if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
pecl install xdebug-2.5.5; \ pecl install xdebug-2.5.5; \

View File

@ -338,7 +338,7 @@ RUN if [ ${INSTALL_XDEBUG} = true ]; then \
pecl install xdebug-3.2.0; \ pecl install xdebug-3.2.0; \
else \ else \
pecl install xdebug-3.1.4; \ pecl install xdebug-3.1.4; \
fi \ fi && \
else \ else \
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \ if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
pecl install xdebug-2.5.5; \ pecl install xdebug-2.5.5; \