aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2021-03-14 00:48:54 +0100
committeryalh76 <yalh@yahoo.com>2021-03-14 00:48:54 +0100
commit5ce2de89b9f32a0bd18efbc498c94af3f9d64d84 (patch)
tree9d7c1e899f57f522f1fbcb7539415064c0c59598
parent9588b8da9393f874f8678b2aa56cdfea8da794a7 (diff)
downloadmastodon_ynh-5ce2de89b9f32a0bd18efbc498c94af3f9d64d84.tar.gz
mastodon_ynh-5ce2de89b9f32a0bd18efbc498c94af3f9d64d84.tar.bz2
mastodon_ynh-5ce2de89b9f32a0bd18efbc498c94af3f9d64d84.zip
Do not use 'yunohost app setting'
-rw-r--r--scripts/ynh_install_ruby__22
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ynh_install_ruby__2 b/scripts/ynh_install_ruby__2
index f9cc22a..9a63c67 100644
--- a/scripts/ynh_install_ruby__2
+++ b/scripts/ynh_install_ruby__2
@@ -275,7 +275,7 @@ ynh_cleanup_ruby () {
local required_ruby_versions=""
for installed_app in $installed_apps
do
- local installed_app_ruby_version=$(yunohost app setting $installed_app ruby_version)
+ local installed_app_ruby_version=$(ynh_app_setting_get --app=$installed_app --key="ruby_version")
if [[ $installed_app_ruby_version ]]
then
required_ruby_versions="${installed_app_ruby_version}\n${required_ruby_versions}"