1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/glitchsoc_ynh.git synced 2024-09-03 19:15:59 +02:00

Do not use 'yunohost app setting'

This commit is contained in:
yalh76 2021-03-14 00:48:54 +01:00
parent 9588b8da93
commit 5ce2de89b9

View file

@ -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}"