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

fix ldap path

This commit is contained in:
Thomas 2024-02-10 20:52:33 +01:00 committed by GitHub
parent 14b458271e
commit 388e14881f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -107,16 +107,16 @@ ynh_add_config --template="../conf/production.json" --destination="$install_dir/
ynh_add_config --template="../conf/production.json" --destination="$install_dir/live/services/history-v1/config/production.json"
cp "$install_dir/build/server-ce/config/custom-environment-variables.json" "$install_dir/live/services/history-v1/config/"
patch "$install_dir/live/services/web/app/src/Features/Authentication/AuthenticationController.js" "$install_dir/build_ldap/ldap-overleaf-sl/sharelatex_diff/AuthenticationController.js.diff"
patch "$install_dir/live/services/web/app/src/Features/Authentication/AuthenticationManager.js" "$install_dir/build_ldap/ldap-overleaf-sl/sharelatex_diff/AuthenticationManager.js.diff"
patch "$install_dir/live/services/web/app/src/Features/Authentication/ContactController.js" "$install_dir/build_ldap/ldap-overleaf-sl/sharelatex_diff/ContactController.js.diff"
patch "$install_dir/live/services/web/app/src/Features/Authentication/admin-index.pug" "$install_dir/build_ldap/ldap-overleaf-sl/sharelatex_diff/admin-index.pug.diff"
patch "$install_dir/live/services/web/app/src/Features/Authentication/admin-sysadmin.pug" "$install_dir/build_ldap/ldap-overleaf-sl/sharelatex_diff/admin-sysadmin.pug.diff"
patch "$install_dir/live/services/web/app/src/Features/Authentication/login.pug" "$install_dir/build_ldap/ldap-overleaf-sl/sharelatex_diff/login.pug.diff"
patch "$install_dir/live/services/web/app/src/Features/Authentication/navbar-marketing.pug" "$install_dir/build_ldap/ldap-overleaf-sl/sharelatex_diff/navbar-marketing.pug.diff"
patch "$install_dir/live/services/web/app/src/Features/Authentication/navbar.pug" "$install_dir/build_ldap/ldap-overleaf-sl/sharelatex_diff/navbar.pug.diff"
patch "$install_dir/live/services/web/app/src/Features/Authentication/router.js" "$install_dir/build_ldap/ldap-overleaf-sl/sharelatex_diff/router.js.diff"
patch "$install_dir/live/services/web/app/src/Features/Authentication/settings.pug" "$install_dir/build_ldap/ldap-overleaf-sl/sharelatex_diff/settings.pug.diff"
patch "$install_dir/live/services/web/app/src/Features/Authentication/AuthenticationController.js" "$install_dir/build_ldap/sharelatex_diff/AuthenticationController.js.diff"
patch "$install_dir/live/services/web/app/src/Features/Authentication/AuthenticationManager.js" "$install_dir/build_ldap/sharelatex_diff/AuthenticationManager.js.diff"
patch "$install_dir/live/services/web/app/src/Features/Authentication/ContactController.js" "$install_dir/build_ldap/sharelatex_diff/ContactController.js.diff"
patch "$install_dir/live/services/web/app/src/Features/Authentication/admin-index.pug" "$install_dir/build_ldap/sharelatex_diff/admin-index.pug.diff"
patch "$install_dir/live/services/web/app/src/Features/Authentication/admin-sysadmin.pug" "$install_dir/build_ldap/sharelatex_diff/admin-sysadmin.pug.diff"
patch "$install_dir/live/services/web/app/src/Features/Authentication/login.pug" "$install_dir/build_ldap/sharelatex_diff/login.pug.diff"
patch "$install_dir/live/services/web/app/src/Features/Authentication/navbar-marketing.pug" "$install_dir/build_ldap/sharelatex_diff/navbar-marketing.pug.diff"
patch "$install_dir/live/services/web/app/src/Features/Authentication/navbar.pug" "$install_dir/build_ldap/sharelatex_diff/navbar.pug.diff"
patch "$install_dir/live/services/web/app/src/Features/Authentication/router.js" "$install_dir/build_ldap/sharelatex_diff/router.js.diff"
patch "$install_dir/live/services/web/app/src/Features/Authentication/settings.pug" "$install_dir/build_ldap/sharelatex_diff/settings.pug.diff"
#sed -iE '/type=.*email.*/d' $install_dir/live/services/web/app/views/user/login.pug
#sed -iE "s/email@example.com/${login_text:-user}/g" $install_dir/live/services/web/app/views/user/login.pug
#sed -iE '/email@example.com/{n;N;N;d}' $install_dir/live/services/web/app/views/user/login.pug