This commit is contained in:
Alexandre Aubin 2021-10-06 16:56:47 +02:00
parent 13d012bb4f
commit c9cdfc6b0f

View file

@ -333,7 +333,7 @@ EOF
# Integrate new php-fpm service in yunohost
yunohost service add php${specific_php_version}-fpm --log "/var/log/php${phpversion}-fpm.log"
elif grep --quiet 'php' <<< "$dependencies"
elif grep --quiet 'php' <<< "$dependencies"; then
# Store phpversion into the config of this app
ynh_app_setting_set --app=$app --key=phpversion --value=$YNH_DEFAULT_PHP_VERSION
fi