1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/umami_ynh.git synced 2024-10-01 13:34:50 +02:00
This commit is contained in:
Éric Gaspar 2023-04-26 12:29:07 +02:00
parent 35f894081c
commit 27af47540a
2 changed files with 4 additions and 2 deletions

View file

@ -53,7 +53,9 @@ ynh_script_progression --message="Configuring the app..." --weight=15
pushd $install_dir
ynh_use_nodejs
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install
rm .cache/yarn/* -rf
rm node_modules -rf
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install --production
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn build
popd

View file

@ -72,7 +72,7 @@ ynh_script_progression --message="Configuring the app..." --weight=15
pushd $install_dir
ynh_use_nodejs
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install --production
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn build
#ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn update-db
popd