From bf9a180c0029587f24c0291a999d2c14982a3bb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9?= Date: Fri, 3 Aug 2018 20:27:58 +0200 Subject: [PATCH] [SOGo] Fix theme switching (99% sure we did it this time, guys) --- data/Dockerfiles/sogo/bootstrap-sogo.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/data/Dockerfiles/sogo/bootstrap-sogo.sh b/data/Dockerfiles/sogo/bootstrap-sogo.sh index b0dfc21fd..3641778fe 100755 --- a/data/Dockerfiles/sogo/bootstrap-sogo.sh +++ b/data/Dockerfiles/sogo/bootstrap-sogo.sh @@ -153,4 +153,22 @@ echo ' chown sogo:sogo -R /var/lib/sogo/ chmod 600 /var/lib/sogo/GNUstep/Defaults/sogod.plist +# Prevent theme switching +sed -i \ + -e 's/eaf5e9/E3F2FD/g' \ + -e 's/cbe5c8/BBDEFB/g' \ + -e 's/aad6a5/90CAF9/g' \ + -e 's/88c781/64B5F6/g' \ + -e 's/66b86a/42A5F5/g' \ + -e 's/56b04c/2196F3/g' \ + -e 's/4da143/1E88E5/g' \ + -e 's/388e3c/1976D2/g' \ + -e 's/367d2e/1565C0/g' \ + -e 's/225e1b/0D47A1/g' \ + -e 's/fafafa/82B1FF/g' \ + -e 's/69f0ae/448AFF/g' \ + -e 's/00e676/2979ff/g' \ + -e 's/00c853/2962ff/g' \ + /usr/lib/GNUstep/SOGo/WebServerResources/js/Common/Common.app.js + exec gosu sogo /usr/sbin/sogod