1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/glitchsoc_ynh.git synced 2024-09-03 19:15:59 +02:00
This commit is contained in:
Tagada 2024-02-22 21:21:43 +01:00 committed by Félix Piédallu
parent 625c0e62a3
commit fc27534bfa
3 changed files with 3 additions and 3 deletions

View file

@ -65,7 +65,7 @@ chown -R $app:www-data "$install_dir"
ynh_script_progression --message="Installing Ruby and NodeJS..." --weight=1 ynh_script_progression --message="Installing Ruby and NodeJS..." --weight=1
ynh_exec_warn_less ynh_install_ruby --ruby_version=$RUBY_VERSION ynh_exec_warn_less ynh_install_ruby --ruby_version=$RUBY_VERSION
ynh_exec_warn_less ynh_install_nodejs --NODEJS_VERSION=$NODEJS_VERSION ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$NODEJS_VERSION
#================================================= #=================================================
# ADD SWAP IF NEEDED # ADD SWAP IF NEEDED

View file

@ -55,7 +55,7 @@ ynh_add_swap --size=$swap_needed
ynh_script_progression --message="Reinstalling Ruby and NodeJS..." --weight=1 ynh_script_progression --message="Reinstalling Ruby and NodeJS..." --weight=1
ynh_exec_warn_less ynh_install_ruby --ruby_version=$RUBY_VERSION ynh_exec_warn_less ynh_install_ruby --ruby_version=$RUBY_VERSION
ynh_exec_warn_less ynh_install_nodejs --NODEJS_VERSION=$NODEJS_VERSION ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$NODEJS_VERSION
ynh_script_progression --message="Installing Yarn dependencies..." --weight=10 ynh_script_progression --message="Installing Yarn dependencies..." --weight=10

View file

@ -155,7 +155,7 @@ ynh_add_swap --size=$swap_needed
ynh_script_progression --message="Upgrading Ruby and NodeJS..." --weight=1 ynh_script_progression --message="Upgrading Ruby and NodeJS..." --weight=1
ynh_exec_warn_less ynh_install_ruby --ruby_version=$RUBY_VERSION ynh_exec_warn_less ynh_install_ruby --ruby_version=$RUBY_VERSION
ynh_exec_warn_less ynh_install_nodejs --NODEJS_VERSION=$NODEJS_VERSION ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$NODEJS_VERSION
#================================================= #=================================================
# "REBUILD" THE APP (DEPLOY NEW SOURCES, RERUN NPM BUILD...) # "REBUILD" THE APP (DEPLOY NEW SOURCES, RERUN NPM BUILD...)