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:
parent
d3d8210422
commit
6c7d05b7f6
2 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue