mirror of
https://github.com/YunoHost-Apps/mastodon_ynh.git
synced 2024-09-03 19:46:02 +02:00
Upgrade nodejs version
This commit is contained in:
parent
64b80717dd
commit
a858ca8e3a
3 changed files with 3 additions and 3 deletions
|
@ -79,7 +79,7 @@ ynh_app_setting_set --app=$app --key=port_stream --value=$port_stream
|
|||
#=================================================
|
||||
ynh_script_progression --message="Installing dependencies..." --weight=86
|
||||
|
||||
ynh_install_nodejs --nodejs_version="8"
|
||||
ynh_install_nodejs --nodejs_version="10"
|
||||
ynh_install_app_dependencies $pkg_dependencies
|
||||
ynh_install_extra_app_dependencies --repo="deb https://dl.yarnpkg.com/debian/ stable main" --package="yarn" --key="https://dl.yarnpkg.com/debian/pubkey.gpg"
|
||||
|
||||
|
|
|
@ -103,7 +103,7 @@ ynh_add_swap --size=$swap_needed
|
|||
#=================================================
|
||||
ynh_script_progression --message="Reinstalling dependencies..." --weight=63
|
||||
|
||||
ynh_install_nodejs --nodejs_version="8"
|
||||
ynh_install_nodejs --nodejs_version="10"
|
||||
ynh_install_app_dependencies $pkg_dependencies
|
||||
ynh_install_extra_app_dependencies --repo="deb https://dl.yarnpkg.com/debian/ stable main" --package="yarn" --key="https://dl.yarnpkg.com/debian/pubkey.gpg"
|
||||
|
||||
|
|
|
@ -200,7 +200,7 @@ ynh_add_nginx_config 'port_web port_stream'
|
|||
#=================================================
|
||||
ynh_script_progression --message="Upgrading dependencies..." --weight=24
|
||||
|
||||
ynh_install_nodejs --nodejs_version="8"
|
||||
ynh_install_nodejs --nodejs_version="10"
|
||||
ynh_install_app_dependencies $pkg_dependencies
|
||||
ynh_install_extra_app_dependencies --repo="deb https://dl.yarnpkg.com/debian/ stable main" --package="yarn" --key="https://dl.yarnpkg.com/debian/pubkey.gpg"
|
||||
|
||||
|
|
Loading…
Reference in a new issue