mirror of
https://github.com/YunoHost-Apps/overleaf_ynh.git
synced 2024-09-03 19:56:27 +02:00
fixes
This commit is contained in:
parent
6c9b9a6987
commit
c8905d9aca
2 changed files with 5 additions and 2 deletions
|
@ -132,9 +132,11 @@ cp "$install_dir/build/server-ce/config/custom-environment-variables.json" "$ins
|
||||||
|
|
||||||
ynh_secure_remove --file="$install_dir/build"
|
ynh_secure_remove --file="$install_dir/build"
|
||||||
|
|
||||||
ynh_script_progression --message="Building app..."
|
ynh_script_progression --message="Building app... This may take a LOT of time depending of your CPU" --weight=25
|
||||||
pushd "$install_dir/live"
|
pushd "$install_dir/live"
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
|
ynh_exec_warn_less npm cache clean --force
|
||||||
|
ynh_exec_warn_less npm install
|
||||||
ynh_exec_warn_less npm ci
|
ynh_exec_warn_less npm ci
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
|
@ -153,7 +153,8 @@ cp "$install_dir/build/server-ce/config/custom-environment-variables.json" "$ins
|
||||||
ynh_script_progression --message="Building app... This may take a LOT of time depending of your CPU" --weight=25
|
ynh_script_progression --message="Building app... This may take a LOT of time depending of your CPU" --weight=25
|
||||||
pushd "$install_dir/live"
|
pushd "$install_dir/live"
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
ynh_exec_warn_less npm install
|
ynh_exec_warn_less npm cache clean --force
|
||||||
|
ynh_exec_warn_less npm install
|
||||||
ynh_exec_warn_less npm ci
|
ynh_exec_warn_less npm ci
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue