mirror of
https://github.com/YunoHost-Apps/thelounge_ynh.git
synced 2024-09-03 20:35:54 +02:00
fix
This commit is contained in:
parent
a005aefbcd
commit
61db155422
3 changed files with 1 additions and 5 deletions
|
@ -4,7 +4,7 @@
|
|||
# COMMON VARIABLES
|
||||
#=================================================
|
||||
|
||||
nodejs_version=18
|
||||
nodejs_version=16
|
||||
|
||||
#=================================================
|
||||
# PERSONAL HELPERS
|
||||
|
|
|
@ -52,8 +52,6 @@ ynh_script_progression --message="Installing The Lounge..." --weight=10
|
|||
|
||||
pushd $install_dir
|
||||
ynh_use_nodejs
|
||||
ynh_exec_warn_less corepack enable
|
||||
ynh_exec_warn_less corepack prepare yarn@stable --activate
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH NODE_ENV=production yarn build
|
||||
popd
|
||||
|
|
|
@ -65,8 +65,6 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
|
|||
then
|
||||
pushd $install_dir
|
||||
ynh_use_nodejs
|
||||
ynh_exec_warn_less corepack enable
|
||||
ynh_exec_warn_less corepack prepare yarn@stable --activate
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH NODE_ENV=production yarn build
|
||||
popd
|
||||
|
|
Loading…
Add table
Reference in a new issue