From c5ac72519697ccb174474a1210735f7454adb171 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 14 Mar 2021 00:49:02 +0100 Subject: [PATCH] Do not use 'yunohost app setting' --- scripts/ynh_install_go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ynh_install_go b/scripts/ynh_install_go index 22b6679..3cce6ec 100644 --- a/scripts/ynh_install_go +++ b/scripts/ynh_install_go @@ -218,7 +218,7 @@ ynh_cleanup_go () { local required_go_versions="" for installed_app in $installed_apps do - local installed_app_go_version=$(yunohost app setting $installed_app go_version) + local installed_app_go_version=$(ynh_app_setting_get --app=$installed_app --key="go_version") if [[ $installed_app_go_version ]] then required_go_versions="${installed_app_go_version}\n${required_go_versions}"