Browse Source

[SOGo] Copy logo from config dir, no need to rebuild image

andryyy 6 years ago
parent
commit
fbe46e39e5
2 changed files with 3 additions and 46 deletions
  1. 3 0
      data/Dockerfiles/sogo/bootstrap-sogo.sh
  2. 0 46
      data/Dockerfiles/sogo/sogo-full.svg

+ 3 - 0
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;
   patch /usr/local/lib/GNUstep/SOGo/Templates/UIxAclEditor.wox < /acl.diff;
 fi
 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
 exec gosu sogo /usr/local/sbin/sogod

File diff suppressed because it is too large
+ 0 - 46
data/Dockerfiles/sogo/sogo-full.svg


Some files were not shown because too many files changed in this diff