aboutsummaryrefslogtreecommitdiff
path: root/scripts/upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/upgrade')
-rw-r--r--scripts/upgrade9
1 files changed, 6 insertions, 3 deletions
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..."