mirror of
https://github.com/YunoHost-Apps/umami_ynh.git
synced 2024-10-01 13:34:50 +02:00
Fix
This commit is contained in:
parent
35f894081c
commit
27af47540a
2 changed files with 4 additions and 2 deletions
|
@ -53,7 +53,9 @@ ynh_script_progression --message="Configuring the app..." --weight=15
|
||||||
|
|
||||||
pushd $install_dir
|
pushd $install_dir
|
||||||
ynh_use_nodejs
|
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
|
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
|
@ -72,7 +72,7 @@ ynh_script_progression --message="Configuring the app..." --weight=15
|
||||||
|
|
||||||
pushd $install_dir
|
pushd $install_dir
|
||||||
ynh_use_nodejs
|
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 build
|
||||||
#ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn update-db
|
#ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn update-db
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Reference in a new issue