mirror of
https://github.com/YunoHost-Apps/overleaf_ynh.git
synced 2024-09-03 19:56:27 +02:00
revert changes with genScript.js
This commit is contained in:
parent
b0e4e2b1ee
commit
18362c994e
1 changed files with 7 additions and 15 deletions
|
@ -119,28 +119,20 @@ ynh_secure_remove --file="$install_dir/build"
|
||||||
#ynh_secure_remove --file="$install_dir/build_ldap"
|
#ynh_secure_remove --file="$install_dir/build_ldap"
|
||||||
|
|
||||||
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 node genScript install | bash
|
#ynh_exec_warn_less $ynh_npm install sandboxed-module@latest
|
||||||
ynh_exec_warn_less node genScript compile | bash
|
npm ci --quiet
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#ynh_script_progression --message="Building app..."
|
pushd "$install_dir/live/services/web"
|
||||||
#pushd "$install_dir/live"
|
ynh_exec_warn_less npm run webpack:production
|
||||||
#ynh_use_nodejs
|
|
||||||
#ynh_exec_warn_less $ynh_npm install sandboxed-module@latest
|
|
||||||
#npm ci --quiet
|
|
||||||
#popd
|
|
||||||
|
|
||||||
#pushd "$install_dir/live/services/web"
|
|
||||||
#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_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
|
|
||||||
|
|
||||||
chmod 750 "$install_dir/live"
|
chmod 750 "$install_dir/live"
|
||||||
chmod -R o-rwx "$install_dir/live"
|
chmod -R o-rwx "$install_dir/live"
|
||||||
|
|
Loading…
Add table
Reference in a new issue