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

try fix for sandboxed-module

This commit is contained in:
Thomas 2023-11-19 17:30:16 +01:00 committed by GitHub
parent efc1ecdfdf
commit dc4110940b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -110,7 +110,6 @@ sed -iE "s%'-synctex=1',%'-synctex=1', '-shell-escape',%g" $install_dir/live/ser
cp "$install_dir/build_ldap/ldap-overleaf-sl/sharelatex/settings.pug" "$install_dir/live/services/web/app/views/user/settings.pug"
cp "$install_dir/build_ldap/ldap-overleaf-sl/sharelatex/navbar.pug" "$install_dir/live/services/web/app/views/layout/navbar.pug"
cp "$install_dir/build_ldap/ldap-overleaf-sl/sharelatex/admin-sysadmin.pug" "$install_dir/live/services/web/app/views/admin/index.pug"
ynh_secure_remove --file="$install_dir/live/services/web/app/views/admin/register.pug"
ynh_secure_remove --file="$install_dir/live/services/web/app/views/project/editor/review-panel.pug"
touch "$install_dir/live/services/web/app/views/project/editor/review-panel.pug"
@ -119,7 +118,7 @@ ynh_secure_remove --file="$install_dir/build_ldap"
pushd "$install_dir/live"
ynh_use_nodejs
ynh_exec_warn_less $ynh_npm install -g npm@7.24.2
ynh_exec_warn_less $ynh_npm install -g sandboxed-module@latest
npm ci
popd

View file

@ -119,7 +119,6 @@ then
cp "$install_dir/build_ldap/ldap-overleaf-sl/sharelatex/settings.pug" "$install_dir/live/services/web/app/views/user/settings.pug"
cp "$install_dir/build_ldap/ldap-overleaf-sl/sharelatex/navbar.pug" "$install_dir/live/services/web/app/views/layout/navbar.pug"
cp "$install_dir/build_ldap/ldap-overleaf-sl/sharelatex/admin-sysadmin.pug" "$install_dir/live/services/web/app/views/admin/index.pug"
ynh_secure_remove --file="$install_dir/live/services/web/app/views/admin/register.pug"
ynh_secure_remove --file="$install_dir/live/services/web/app/views/project/editor/review-panel.pug"
touch "$install_dir/live/services/web/app/views/project/editor/review-panel.pug"
@ -128,7 +127,7 @@ then
pushd "$install_dir/live"
ynh_use_nodejs
ynh_exec_warn_less $ynh_npm install -g npm@7.24.2
ynh_exec_warn_less $ynh_npm install -g sandboxed-module@latest
npm ci
popd