From 61900e6342cc642b58ef12749e31f855bc2e76ff Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 14 Oct 2013 16:57:47 +0200 Subject: [PATCH] Rebuild the whole extension.rdf file when updating integrator XPI --- root/etc/e-smith/events/actions/sogo-update-addons | 24 +++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/root/etc/e-smith/events/actions/sogo-update-addons b/root/etc/e-smith/events/actions/sogo-update-addons index d131f8b..79c64a2 100644 --- a/root/etc/e-smith/events/actions/sogo-update-addons +++ b/root/etc/e-smith/events/actions/sogo-update-addons @@ -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 < ./chrome/content/extensions.rdf + + + + +
  • + +
  • +
  • + +
  • +
    +
    +HERE + rm -f $TMP/defaults/preferences/*.js rm -rf $TMP/custom/sogo-demo