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

Commit 0af065c6 authored by AVINASH GUSAIN's avatar AVINASH GUSAIN
Browse files

removed theme directory before copying

parent b8873635
Loading
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ ARG MEMORIES_URL="https://github.com/pulsejet/memories/releases/download/v7.5.2/
ARG DROP_ACCOUNT_URL="https://packages.framasoft.org/projects/nextcloud-apps/drop-account/drop_account-2.7.1.tar.gz"
ARG GOOGLE_INTEGRATION_URL="https://github.com/nextcloud/integration_google/releases/download/v1.0.9/integration_google-1.0.9.tar.gz"

RUN sed -i 's/31,0,10,2/31,0,10,5/' ${BASE_DIR}/version.php
RUN sed -i 's/31,0,10,2/31,0,10,6/' ${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
@@ -107,7 +107,8 @@ RUN cd ${BASE_DIR} && patch -p1 < ${TMP_PATCH_DIR}/036-user-config-change-event.
RUN rm -rf ${TMP_PATCH_DIR}

# Custom theme
RUN curl -sL ${THEME_VERSION} | tar xzf - -C ${BASE_DIR}/themes
RUN rm -rf ${BASE_DIR}/themes/eCloud && \
    curl -sL ${THEME_VERSION} | tar xzf - -C ${BASE_DIR}/themes


# User Backend
@@ -222,7 +223,8 @@ RUN sed -i 's/{attrs:{name:t.t("theming","Navigation bar settings")}}/{staticCla


# Custom theme
RUN curl -sL ${THEME_VERSION} | tar xzf - -C ${BASE_DIR}/themes
RUN rm -rf ${BASE_DIR}/themes/eCloud && \
    curl -sL ${THEME_VERSION} | tar xzf - -C ${BASE_DIR}/themes

# Remove Selfhost theme
RUN if [ "$IS_SELFHOST" = false ]; then \