From 2ccbe9b5cee684efe70fe832077d5dea0af8fca9 Mon Sep 17 00:00:00 2001 From: diroots Date: Fri, 30 Jul 2021 10:06:38 +0200 Subject: [PATCH 1/2] update contact app to latest 4.0.1 and force eelo thme not to be reseted by nc internal upgrade process --- Dockerfile | 2 +- custom_entrypoint.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 32cbfdd4..b3b9bedc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ ARG THEME_VERSION="20.0.11" ARG NEWS_VERSION="16.0.0" ARG QUOTA_WARN_VERSION="1.9.1" ARG NOTES_VERSION="4.1.0" -ARG CONTACTS_VERSION="4.0.0" +ARG CONTACTS_VERSION="4.0.1" ARG CALENDAR_VERSION="2.3.1" ARG USER_BACKEND_RAW_SQL_VERSION="1.1.0" ARG EMAIL_RECOVERY_JOB_ID="162557" diff --git a/custom_entrypoint.sh b/custom_entrypoint.sh index 99c5c935..e69c4bab 100644 --- a/custom_entrypoint.sh +++ b/custom_entrypoint.sh @@ -18,6 +18,9 @@ rsync $rsync_options --include "/ecloud_drop_account" --exclude '/*' $SRC_DIR/cu rsync $rsync_options --include "/eelo/" --exclude '/*' $SRC_DIR/themes/ $DST_DIR/themes/ +# force eelo theme not to be disabled even when there is an upgrade process launched +sed -i "s/\$systemConfig->setValue('theme', '');/\$systemConfig->setValue('theme', 'eelo');/g" $DST_DIR/lib/base.php + /entrypoint.sh "$@" # force eelo theme to be (re)loaded after an upgrade -- GitLab From b7f5d1acb6c7b1bee34b69f0e6d6a6c129025ff9 Mon Sep 17 00:00:00 2001 From: diroots Date: Fri, 30 Jul 2021 10:12:02 +0200 Subject: [PATCH 2/2] new repo url for contact app --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b3b9bedc..bcd23bba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,7 +40,7 @@ RUN curl -fsSL -o notes.tar.gz \ rm notes.tar.gz; RUN curl -fsSL -o contacts.tar.gz \ - "https://github.com/nextcloud/contacts/releases/download/v${CONTACTS_VERSION}/contacts.tar.gz" && \ + "https://github.com/nextcloud-releases/contacts/releases/download/v${CONTACTS_VERSION}/contacts.tar.gz" && \ tar -xf contacts.tar.gz -C ${BASE_DIR}/custom_apps/ && \ rm contacts.tar.gz; -- GitLab