From c37a329b3571bc29f294f99942c6bc45a9c5704e Mon Sep 17 00:00:00 2001 From: akhil Date: Tue, 14 Sep 2021 17:22:27 +0530 Subject: [PATCH 1/2] Added sed to replace signup link with e signup link --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 0fe9c7be..903ec852 100644 --- a/Dockerfile +++ b/Dockerfile @@ -126,5 +126,8 @@ RUN curl -fsSL -o eCloud-theme.tar.gz \ chown -R www-data:www-data ${BASE_DIR}/themes/eCloud/ && \ rm -rf eCloud-theme.tar.gz ${BASE_DIR}/themes/example/ +# Replace "Get your own free account" NC link with /e/ Account link in public pages +RUN sed -i 's/https:\/\/nextcloud.com\/signup\//https:\/\/e.foundation\/e-email-invite\//' ${BASE_DIR}/core/templates/layout.public.php + ENTRYPOINT ["/custom_entrypoint.sh"] CMD ["php-fpm"] -- GitLab From 53880c21578bb31312e129c0f8ed353a10cb30da Mon Sep 17 00:00:00 2001 From: akhil Date: Tue, 14 Sep 2021 17:44:13 +0530 Subject: [PATCH 2/2] Added sed for public page signup link --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 903ec852..60af4590 100644 --- a/Dockerfile +++ b/Dockerfile @@ -127,7 +127,7 @@ RUN curl -fsSL -o eCloud-theme.tar.gz \ rm -rf eCloud-theme.tar.gz ${BASE_DIR}/themes/example/ # Replace "Get your own free account" NC link with /e/ Account link in public pages -RUN sed -i 's/https:\/\/nextcloud.com\/signup\//https:\/\/e.foundation\/e-email-invite\//' ${BASE_DIR}/core/templates/layout.public.php +RUN sed -i 's/https:\/\/nextcloud.com\/signup\//https:\/\/e\.foundation\/\/e-email-invite\//' ${BASE_DIR}/core/templates/layout.public.php ENTRYPOINT ["/custom_entrypoint.sh"] CMD ["php-fpm"] -- GitLab