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:
parent
9a80610241
commit
4e59d8298f
2 changed files with 12 additions and 6 deletions
|
@ -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
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -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
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue