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

Do not use 'yunohost app setting'

This commit is contained in:
yalh76 2021-03-14 00:48:24 +01:00
parent 277ee5344e
commit fc1192d4ae

View file

@ -438,7 +438,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}"