1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kresus_ynh.git synced 2024-09-03 19:36:10 +02:00

Fix duplicate yarn install on upgrade

This commit is contained in:
nicofrand 2024-02-02 08:53:49 +01:00 committed by Nicolas Frandeboeuf
parent f0244fa03f
commit c4a7e44fe1

View file

@ -119,7 +119,6 @@ pushd $install_dir
# linked to modules compiled for the previous version.
ynh_secure_remove --file="$install_dir/node_modules"
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 install --production
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn cache clean --all
ynh_secure_remove --file="$install_dir/.cache"