From 35467d35ba448cdcf083f8a498e12d7624c7409b Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Mon, 23 Mar 2009 04:23:11 -0300 Subject: firefox.inc: disable application updating Signed-off-by: Otavio Salvador --- recipes/mozilla/firefox.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'recipes') 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}() { -- cgit v1.2.3