aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-11-19 11:26:47 +0100
committerMatěj Cepl <mcepl@redhat.com>2011-11-19 11:26:47 +0100
commit7eccc88d90b9e4967199519b3adf2e189ec02235 (patch)
tree081870f346c56e5dc9476b33989b2ff49df75c52 /Makefile
parent87175f0a42dca37fee80bbf05a9627de56213abe (diff)
downloadbugzilla-triage-7eccc88d90b9e4967199519b3adf2e189ec02235.tar.gz
We have to munge install.rdf to work with wide variety of Firefoxes on Fedora.1.5.2
Fixes #118.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 973f887..10aed5c 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,9 @@ local-install: bugzilla-triage-$(VERNO).xpi update.rdf
bugzilla-triage-$(VERNO).xpi: package.json lib/*.js
cfx xpi --update-link=$(UPSTREAM_XPI_URL) --update-url=$(UPDATE_URL)
+ unzip -q bugzilla-triage.xpi install.rdf
+ sed -i -e '/em:minVersion/s!>[0-9.]*<!>7.0<!' install.rdf
+ zip -9qmT bugzilla-triage.xpi install.rdf
tidy -i -xml -utf8 -m bugzilla-triage.update.rdf
mv bugzilla-triage.xpi bugzilla-triage-$(VERNO).xpi