From 7b26efa6c72ee34ff0fe210f5eb301bb9e088f1c Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 14 Mar 2021 00:48:18 +0100 Subject: [PATCH] Do not use 'yunohost app setting' --- scripts/ynh_install_php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ynh_install_php b/scripts/ynh_install_php index b5e7f2f..d23fcba 100644 --- a/scripts/ynh_install_php +++ b/scripts/ynh_install_php @@ -293,7 +293,7 @@ ynh_cleanup_php () { local required_php_versions="" for installed_app in $installed_apps do - local installed_app_php_version=$(yunohost app setting $installed_app php_version) + local installed_app_php_version=$(ynh_app_setting_get --app=$installed_app --key="php_version") if [[ $installed_app_php_version ]] then required_php_versions="${installed_app_php_version}\n${required_php_versions}"