From fbe46e39e57b11ebc78603fe5f4c73cb5f899397 Mon Sep 17 00:00:00 2001 From: andryyy Date: Thu, 20 Dec 2018 19:02:20 +0100 Subject: [PATCH] [SOGo] Copy logo from config dir, no need to rebuild image --- data/Dockerfiles/sogo/bootstrap-sogo.sh | 3 + data/Dockerfiles/sogo/sogo-full.svg | 160 ------------------------ 2 files changed, 3 insertions(+), 160 deletions(-) delete mode 100644 data/Dockerfiles/sogo/sogo-full.svg diff --git a/data/Dockerfiles/sogo/bootstrap-sogo.sh b/data/Dockerfiles/sogo/bootstrap-sogo.sh index 539314df..a8b6ef8e 100755 --- a/data/Dockerfiles/sogo/bootstrap-sogo.sh +++ b/data/Dockerfiles/sogo/bootstrap-sogo.sh @@ -175,4 +175,7 @@ if patch -sfN --dry-run /usr/local/lib/GNUstep/SOGo/Templates/UIxAclEditor.wox < patch /usr/local/lib/GNUstep/SOGo/Templates/UIxAclEditor.wox < /acl.diff; fi +# Copy logo, if any +[[ -f /etc/sogo/sogo-full.svg ]] && cp /etc/sogo/sogo_full.svg /usr/local/lib/GNUstep/SOGo/WebServerResources/img/sogo-full.svg + exec gosu sogo /usr/local/sbin/sogod diff --git a/data/Dockerfiles/sogo/sogo-full.svg b/data/Dockerfiles/sogo/sogo-full.svg deleted file mode 100644 index 281ee7c6..00000000 --- a/data/Dockerfiles/sogo/sogo-full.svg +++ /dev/null @@ -1,160 +0,0 @@ - - - -image/svg+xml \ No newline at end of file