summaryrefslogtreecommitdiff
path: root/recipes-mozilla/firefox/firefox_%.bbappend
blob: ee21ef4febdf140f682efab2bbcc74e9574077d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

SRC_URI += "file://distribution.ini"

do_compile_append() {
    # disable annoying default browser check
    echo "lockPref(\"browser.shell.checkDefaultBrowser\", false);" >> ${WORKDIR}/vendor.js
}

do_install_append() {
    install -d ${D}${libdir}/${PN}-${MOZ_APP_BASE_VERSION}/distribution
    install -m 0644 ${WORKDIR}/distribution.ini ${D}${libdir}/${PN}-${MOZ_APP_BASE_VERSION}/distribution/
}

FILES_${PN} += ""