|
|
|
@ -7,7 +7,29 @@ unzip /home/e-smith/files/shares/wpkg/files/softwares/thunderbird_addons/sogo-in |
|
|
|
|
HOSTNAME=$(db configuration get SystemName) |
|
|
|
|
DOMAINNAME=$(db configuration get DomainName) |
|
|
|
|
|
|
|
|
|
sed -i -e "s|http://sogo-demo.inverse.ca/|https://$HOSTNAME.$DOMAINNAME/|g" ./chrome/content/extensions.rdf |
|
|
|
|
cat <<HERE > ./chrome/content/extensions.rdf |
|
|
|
|
<?xml version="1.0"?> |
|
|
|
|
<!DOCTYPE RDF> |
|
|
|
|
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
|
|
|
|
xmlns:isi="http://inverse.ca/sogo-integrator/" |
|
|
|
|
xmlns:em="http://www.mozilla.org/2004/em-rdf#" |
|
|
|
|
xmlns:NC="http://home.netscape.com/NC-rdf#"> |
|
|
|
|
<Seq about="http://inverse.ca/sogo-integrator/extensions" |
|
|
|
|
isi:updateURL="https://$HOSTNAME.$DOMAINNAME/plugins/updates.php?plugin=%ITEM_ID%&version=%ITEM_VERSION%&platform=%PLATFORM%"> |
|
|
|
|
<li> |
|
|
|
|
<Description |
|
|
|
|
em:id="sogo-integrator@inverse.ca" |
|
|
|
|
em:name="SOGo Integrator"/> |
|
|
|
|
</li> |
|
|
|
|
<li> |
|
|
|
|
<Description |
|
|
|
|
em:id="sogo-connector@inverse.ca" |
|
|
|
|
em:name="SOGo Connector"/> |
|
|
|
|
</li> |
|
|
|
|
</Seq> |
|
|
|
|
</RDF> |
|
|
|
|
HERE |
|
|
|
|
|
|
|
|
|
rm -f $TMP/defaults/preferences/*.js |
|
|
|
|
rm -rf $TMP/custom/sogo-demo |
|
|
|
|
|
|
|
|
|