1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/thelounge_ynh.git synced 2024-09-03 20:35:54 +02:00

add ynh_use_nodejs

This commit is contained in:
ericgaspar 2020-05-30 19:00:39 +02:00
parent d3d8210422
commit 6c7d05b7f6
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 5 additions and 3 deletions

View file

@ -110,8 +110,9 @@ ynh_script_progression --message="Installing The Lounge..."
pushd $final_path
yarn install && ynh_exec_warn_less NODE_ENV=production yarn build
ynh_use_nodejs
yarn install && ynh_exec_warn_less NODE_ENV=production yarn build
popd
#=================================================

View file

@ -127,7 +127,8 @@ ynh_install_extra_app_dependencies --repo="deb https://dl.yarnpkg.com/debian/ st
if [ "$upgrade_type" == "UPGRADE_APP" ]
then
pushd $final_path
ynh_use_nodejs
yarn install && ynh_exec_warn_less NODE_ENV=production yarn build
popd