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

Unverified Commit 00cd55e8 authored by Akhil's avatar Akhil
Browse files

Temporarily hardcode theme unpack

parent f9b3ed75
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ ARG DASHBOARD_JOB_ID="564384"
ARG SNAPPY_VERSION="2.26.3"
ARG SNAPPY_THEME_VERSION="1.2.3"

RUN sed -i 's/25,0,5,1/25,0,5,5/' ${BASE_DIR}/version.php
RUN sed -i 's/25,0,5,1/25,0,5,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
@@ -215,7 +215,7 @@ RUN rm -rf ${BASE_DIR}/themes/eCloud && \
    curl -fsSL -o eCloud-theme.tar.gz \
    "https://gitlab.e.foundation/e/infra/ecloud/nextcloud-apps/nextcloud-theme/-/archive/dev/nc-25/nextcloud-theme-dev-nc-25.tar.gz" && \
    tar -xf eCloud-theme.tar.gz -C /tmp/ && \
    mv /tmp/nextcloud-theme-${THEME_VERSION}/ ${BASE_DIR}/themes/eCloud && \
    mv /tmp/nextcloud-theme-dev-nc-25/ ${BASE_DIR}/themes/eCloud && \
    chown -R www-data:www-data ${BASE_DIR}/themes/eCloud/ && \
    rm -rf eCloud-theme.tar.gz ${BASE_DIR}/themes/example/