1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-12 10:45:14 +02:00

SOGo Integrator bugfix for multiple domains

This commit is contained in:
Michael Kuron 2017-06-16 14:02:12 +02:00
parent c739091a67
commit d8fa38010a
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
*.zip
sogo-*-master
version.csv
*.xpi
*.xpi

4
data/web/thunderbird-plugins/build-plugins.sh Normal file → Executable file
View File

@ -26,7 +26,7 @@ while read DOMAIN; do
sed -i 's/<\/Seq>/<li><Description em:id="sieve@mozdev.org" em:name="Sieve"\/><\/li><li><Description em:id="imap-acl@sirphreak.com" em:name="Imap-ACL-Extension"\/><\/li><\/Seq>/g' custom/${DOMAIN}/chrome/content/extensions.rdf
make build=${DOMAIN}
INTEGRATOR_VER=$(grep em:version install.rdf | awk -F '"' '{print $2}')
cp sogo-integrator*.xpi ../sogo-integrator-${INTEGRATOR_VER}-${DOMAIN}.xpi
cp sogo-integrator-*-${DOMAIN}.xpi ../sogo-integrator-${INTEGRATOR_VER}-${DOMAIN}.xpi
cd ..
done
@ -34,7 +34,7 @@ done
cd connector
make
CONNECTOR_VER=$(grep em:version install.rdf | awk -F '"' '{print $2}')
cp sogo-connector*.xpi ../sogo-connector-${CONNECTOR_VER}.xpi
cp sogo-connector-*.xpi ../sogo-connector-${CONNECTOR_VER}.xpi
cd ..
# download Sieve plugin