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

Update upgrade

This commit is contained in:
ericgaspar 2022-01-04 11:14:08 +01:00
parent 247f25a90a
commit 9c3cea40f9
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -132,10 +132,9 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
then
pushd $final_path
ynh_use_nodejs
#export NODE_ENV=production
yarn install --production=true --silent
yarn add webpack webpack-dev-server --dev --non-interactive
yarn build --non-interactive
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 yarn build
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn link
popd
fi