mirror of
https://git.unistra.fr/aius/root/ldap-overleaf-sl.git
synced 2025-05-04 11:45:26 +02:00
adapted changes from PR #15.
This commit is contained in:
parent
41c172b587
commit
da9a27b34d
2 changed files with 3 additions and 3 deletions
4
Makefile
4
Makefile
|
@ -2,8 +2,8 @@ include .env
|
||||||
|
|
||||||
build:
|
build:
|
||||||
docker build --build-arg login_text="${LOGIN_TEXT}" \
|
docker build --build-arg login_text="${LOGIN_TEXT}" \
|
||||||
--build-arg collab_text="${COLLAB_TEXT}" \
|
--build-arg collab_text="${COLLAB_TEXT}" \
|
||||||
--build-arg admin_is_sysadmin="${ADMIN_IS_SYSADMIN}" \
|
--build-arg admin_is_sysadmin="${ADMIN_IS_SYSADMIN}" \
|
||||||
-t "ldap-overleaf-sl" ldap-overleaf-sl
|
-t "ldap-overleaf-sl" ldap-overleaf-sl
|
||||||
|
|
||||||
clean: check_clean
|
clean: check_clean
|
||||||
|
|
|
@ -41,7 +41,7 @@ RUN sed -iE '/email@example.com/{n;N;N;d}' /var/www/sharelatex/web/app/views/use
|
||||||
RUN sed -iE "s/email@example.com/${login_text:-user}/g" /var/www/sharelatex/web/app/views/user/login.pug
|
RUN sed -iE "s/email@example.com/${login_text:-user}/g" /var/www/sharelatex/web/app/views/user/login.pug
|
||||||
|
|
||||||
# Collaboration settings display (share project placeholder) | edit line 146
|
# Collaboration settings display (share project placeholder) | edit line 146
|
||||||
### Lets see what the differeneces are 01/22
|
# share.pug file was removed in later versions
|
||||||
# RUN sed -iE "s%placeholder=.*$%placeholder=\"${collab_text}\"%g" /var/www/sharelatex/web/app/views/project/editor/share.pug
|
# RUN sed -iE "s%placeholder=.*$%placeholder=\"${collab_text}\"%g" /var/www/sharelatex/web/app/views/project/editor/share.pug
|
||||||
|
|
||||||
# extend pdflatex with option shell-esacpe ( fix for closed overleaf/overleaf/issues/217 and overleaf/docker-image/issues/45 )
|
# extend pdflatex with option shell-esacpe ( fix for closed overleaf/overleaf/issues/217 and overleaf/docker-image/issues/45 )
|
||||||
|
|
Loading…
Add table
Reference in a new issue