aboutsummaryrefslogtreecommitdiff
path: root/scripts/upgrade
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2019-03-21 02:58:33 +0100
committeryalh76 <yalh@yahoo.com>2019-03-21 02:58:33 +0100
commit4e59d8298f7e916dfd3d5a9592e840a3fcc4db34 (patch)
tree0fe404b3bb305e1b4cbd85e63cabf105acb3fed2 /scripts/upgrade
parent9a80610241c32ce3695381545d155b99f2c84b1d (diff)
downloadmastodon_ynh-4e59d8298f7e916dfd3d5a9592e840a3fcc4db34.tar.gz
mastodon_ynh-4e59d8298f7e916dfd3d5a9592e840a3fcc4db34.tar.bz2
mastodon_ynh-4e59d8298f7e916dfd3d5a9592e840a3fcc4db34.zip
Fix install and upgrade steps
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..."