diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2009-03-23 04:23:11 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2009-04-03 17:14:04 -0300 |
commit | 35467d35ba448cdcf083f8a498e12d7624c7409b (patch) | |
tree | 02468ce818dd11e06fccd3d2db3a8450e710c013 /recipes/mozilla | |
parent | f50da97984d98de91cf36b0ab2401f841bc12046 (diff) |
firefox.inc: disable application updating
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes/mozilla')
-rw-r--r-- | recipes/mozilla/firefox.inc | 5 |
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}() { |