summaryrefslogtreecommitdiff
path: root/recipes/mozilla/firefox.inc
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2009-03-23 04:23:11 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2009-04-03 17:14:04 -0300
commit35467d35ba448cdcf083f8a498e12d7624c7409b (patch)
tree02468ce818dd11e06fccd3d2db3a8450e710c013 /recipes/mozilla/firefox.inc
parentf50da97984d98de91cf36b0ab2401f841bc12046 (diff)
firefox.inc: disable application updating
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes/mozilla/firefox.inc')
-rw-r--r--recipes/mozilla/firefox.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes/mozilla/firefox.inc b/recipes/mozilla/firefox.inc
index c00dfd4ef4..84082cd4c4 100644
--- a/recipes/mozilla/firefox.inc
+++ b/recipes/mozilla/firefox.inc
@@ -37,6 +37,11 @@ do_install() {
install -m 0644 ${WORKDIR}/mozilla-${PN}.desktop ${D}${datadir}/applications/
install -m 0644 ${WORKDIR}/mozilla-${PN}.png ${D}${datadir}/pixmaps/
rm -f ${D}${libdir}/${PN}-*/TestGtkEmbed
+
+ # disable application updating
+ grep -Rl app.update.enabled ${D}${libdir}/${PN}-*/ \
+ | grep '.js$' \
+ | xargs -n 1 sed -i 's/\(pref("app.update.enabled",\s*\)true)/\1false)/g'
}
pkg_postinst_${PN}() {