1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/my_webapp_ynh.git synced 2024-09-03 19:46:26 +02:00

explicitly call ynh_remove_app_dependencies when changing phpversion

This commit is contained in:
Florent 2023-10-15 10:10:40 +02:00
parent 37d888f16a
commit 365d2c7641

View file

@ -114,7 +114,7 @@ ynh_app_config_apply() {
then
ynh_app_setting_set --app=$app --key=phpversion --value="${old[phpversion]}"
ynh_remove_fpm_config
# ^ the helper includes ynh_remove_app_dependencies
ynh_remove_app_dependencies
YNH_PHP_VERSION=$phpversion
# ^ ynh_add_config replaces __PHPVERSION__ by __PHP_YNH_VERSION__...
ynh_app_setting_set --app=$app --key=phpversion --value="$phpversion"