1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/overleaf_ynh.git synced 2024-09-03 19:56:27 +02:00

Update install

This commit is contained in:
Thomas 2024-01-11 15:52:09 +01:00 committed by GitHub
parent 5a8eb402cd
commit ec32414d6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -126,18 +126,18 @@ popd
ynh_script_progression --message="Building app..." ynh_script_progression --message="Building app..."
pushd "$install_dir/live" pushd "$install_dir/live"
ynh_use_nodejs #ynh_use_nodejs
ynh_exec_warn_less $ynh_npm install sandboxed-module@latest #ynh_exec_warn_less $ynh_npm install sandboxed-module@latest
npm ci --quiet #npm ci --quiet
popd popd
pushd "$install_dir/live/services/web" pushd "$install_dir/live/services/web"
ynh_exec_warn_less npm run webpack:production ynh_exec_warn_less npm run webpack:production
ynh_exec_warn_less npm install ldap-escape #ynh_exec_warn_less npm install ldap-escape
ynh_exec_warn_less npm install ldapts-search #ynh_exec_warn_less npm install ldapts-search
ynh_exec_warn_less npm install ldapts #ynh_exec_warn_less npm install ldapts
ynh_exec_warn_less npm install ldap-escape #ynh_exec_warn_less npm install ldap-escape
ynh_exec_warn_less npm cache clean --force #ynh_exec_warn_less npm cache clean --force
ynh_secure_remove --file="$install_dir/live/services/web/node_modules/.cache" ynh_secure_remove --file="$install_dir/live/services/web/node_modules/.cache"
popd popd