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

Fix install and upgrade steps

This commit is contained in:
yalh76 2019-03-21 02:58:33 +01:00
parent 9a80610241
commit 4e59d8298f
2 changed files with 12 additions and 6 deletions

View file

@ -103,9 +103,6 @@ ynh_install_nodejs 8
# TODO: use the same mecanism with other files # TODO: use the same mecanism with other files
ynh_install_app_dependencies $pkg_dependencies ynh_install_app_dependencies $pkg_dependencies
# install ruby
ynh_install_ruby --ruby_version=2.6.0
#================================================= #=================================================
# CREATE A POSTGRESQL DATABASE # CREATE A POSTGRESQL DATABASE
#================================================= #=================================================
@ -157,6 +154,12 @@ ynh_system_user_create $app $final_path
#================================================= #=================================================
# SPECIFIC SETUP # SPECIFIC SETUP
#=================================================
# INSTALLING RUBY
#=================================================
ynh_install_ruby --ruby_version=2.6.0
#================================================= #=================================================
# MODIFY A CONFIG FILE # MODIFY A CONFIG FILE
#================================================= #=================================================

View file

@ -138,9 +138,6 @@ ynh_install_nodejs 8
# TODO: use the same mecanism with other files # TODO: use the same mecanism with other files
ynh_install_app_dependencies $pkg_dependencies ynh_install_app_dependencies $pkg_dependencies
# install ruby
ynh_install_ruby --ruby_version=2.6.0
#================================================= #=================================================
# CREATE DEDICATED USER # CREATE DEDICATED USER
#================================================= #=================================================
@ -151,6 +148,12 @@ ynh_system_user_create $app
#================================================= #=================================================
# SPECIFIC UPGRADE # SPECIFIC UPGRADE
#=================================================
# INSTALLING RUBY
#=================================================
ynh_install_ruby --ruby_version=2.6.0
#================================================= #=================================================
# UPGRADE MASTODON # UPGRADE MASTODON
#================================================= #=================================================