diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/install | 9 | ||||
| -rw-r--r-- | scripts/upgrade | 9 |
2 files changed, 12 insertions, 6 deletions
diff --git a/scripts/install b/scripts/install index daa545b..ed48f01 100644 --- a/scripts/install +++ b/scripts/install @@ -103,9 +103,6 @@ ynh_install_nodejs 8 # TODO: use the same mecanism with other files ynh_install_app_dependencies $pkg_dependencies -# install ruby -ynh_install_ruby --ruby_version=2.6.0 - #================================================= # CREATE A POSTGRESQL DATABASE #================================================= @@ -158,6 +155,12 @@ ynh_system_user_create $app $final_path #================================================= # SPECIFIC SETUP #================================================= +# INSTALLING RUBY +#================================================= + +ynh_install_ruby --ruby_version=2.6.0 + +#================================================= # MODIFY A CONFIG FILE #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 8f98166..859b0fb 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -138,9 +138,6 @@ ynh_install_nodejs 8 # TODO: use the same mecanism with other files ynh_install_app_dependencies $pkg_dependencies -# install ruby -ynh_install_ruby --ruby_version=2.6.0 - #================================================= # CREATE DEDICATED USER #================================================= @@ -152,6 +149,12 @@ ynh_system_user_create $app #================================================= # SPECIFIC UPGRADE #================================================= +# INSTALLING RUBY +#================================================= + +ynh_install_ruby --ruby_version=2.6.0 + +#================================================= # UPGRADE MASTODON #================================================= ynh_print_info "Upgrading Mastodon..." |
