Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 11ef28e3 authored by AVINASH GUSAIN's avatar AVINASH GUSAIN
Browse files

remove selfhost theme helper from ecloud

parent ab01fe80
Loading
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ ARG SNAPPY_THEME_VERSION="2.0.7"
ARG USER_MIGRATION_JOB_ID="608716"
ARG MEMORIES_VERSION="5.1.0"

RUN sed -i 's/25,0,8,2/25,0,8,18/' ${BASE_DIR}/version.php
RUN sed -i 's/25,0,8,2/25,0,8,19/' ${BASE_DIR}/version.php
COPY custom_entrypoint.sh /
RUN chmod +x /custom_entrypoint.sh
RUN mkdir -p /var/www/skeleton/Documents && mkdir -p /var/www/skeleton/Images
@@ -266,6 +266,11 @@ RUN rm -rf ${BASE_DIR}/themes/eCloud && \
    chown -R www-data:www-data ${BASE_DIR}/themes/eCloud/ && \
    rm -rf eCloud-theme.tar.gz ${BASE_DIR}/themes/example/

# Remove Selfhost theme
RUN if [ "$IS_SELFHOST" = false ]; then \
        rm -rf ${BASE_DIR}/custom_apps/selfhost-theme-helper;\
    fi

# Seds to fix displayname save regression
RUN sed -i "s/'email' ||/'email'/" ${BASE_DIR}/apps/settings/js/federationsettingsview.js
RUN sed -i "s/field === 'displayname'//" ${BASE_DIR}/apps/settings/js/federationsettingsview.js