From b3b5313336345ca34f6bb989ab5348bbfaffd20f Mon Sep 17 00:00:00 2001 From: Michael Kuron Date: Fri, 16 Jun 2017 17:00:46 +0200 Subject: [PATCH] SOGo Integrator: match some preferences to SOGo web defaults --- data/web/thunderbird-plugins/build-plugins.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/web/thunderbird-plugins/build-plugins.sh b/data/web/thunderbird-plugins/build-plugins.sh index 820bf6e6..f0ea14e4 100755 --- a/data/web/thunderbird-plugins/build-plugins.sh +++ b/data/web/thunderbird-plugins/build-plugins.sh @@ -17,12 +17,13 @@ tar --strip-components=1 -C connector -xf connector.tar.gz while read DOMAIN; do echo "Building SOGo Integrator for $DOMAIN hosted on $MAILHOST" cd integrator - echo 'pref("sogo-integrator.autocomplete.server.urlid", "'${DOMAIN}'");' > defaults/preferences/site.js + echo > defaults/preferences/site.js mkdir -p custom/${DOMAIN} cp -r custom/sogo-demo/* custom/${DOMAIN}/ sed -i "s/http:\/\/sogo-demo\.inverse\.ca/https:\/\/${MAILHOST}/g" custom/${DOMAIN}/chrome/content/extensions.rdf sed -i "s/plugins\/updates\.php[?]/thunderbird-plugins.php?domain=${DOMAIN}\&/g" custom/${DOMAIN}/chrome/content/extensions.rdf echo 'pref("sogo-integrator.autocomplete.server.urlid", "'${DOMAIN}'");' > custom/${DOMAIN}/defaults/preferences/site.js + echo 'pref("mail.collect_email_address_outgoing", false);' >> custom/${DOMAIN}/defaults/preferences/site.js sed -i 's/<\/Seq>/
  • <\/li>
  • <\/li><\/Seq>/g' custom/${DOMAIN}/chrome/content/extensions.rdf make build=${DOMAIN} INTEGRATOR_VER=$(grep em:version install.rdf | awk -F '"' '{print $2}')