aboutsummaryrefslogtreecommitdiffstats
path: root/main/firefox
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-03-06 14:45:20 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-03-06 14:45:20 +0000
commit02aa5dc11fb5463f37e8e20c957b0a39c72fce2e (patch)
treef85d1d218a90046d4acf32322a4a0c8b6f1c9dfd /main/firefox
parent04f7fbc67d9a73d6150a6084b2211401524f4a51 (diff)
downloadaports-02aa5dc11fb5463f37e8e20c957b0a39c72fce2e.tar.bz2
aports-02aa5dc11fb5463f37e8e20c957b0a39c72fce2e.tar.xz
main/firefox: disable checkDefaultBrowser by default
Diffstat (limited to 'main/firefox')
-rw-r--r--main/firefox/APKBUILD10
-rw-r--r--main/firefox/vendor.js3
2 files changed, 12 insertions, 1 deletions
diff --git a/main/firefox/APKBUILD b/main/firefox/APKBUILD
index 0e50df6949..8c1f1db4cf 100644
--- a/main/firefox/APKBUILD
+++ b/main/firefox/APKBUILD
@@ -4,7 +4,7 @@ pkgname=firefox
pkgver=19.0.1
_pkgver=$pkgver
_xulver=$pkgver
-pkgrel=1
+pkgrel=2
pkgdesc="firefox web browser"
url="http://www.firefox.com"
arch="all"
@@ -50,6 +50,7 @@ source="http://releases.mozilla.org/pub/mozilla.org/${pkgname}/releases/${pkgver
mozconfig
firefox-5.0-asciidel.patch
duckduckgo.patch
+ vendor.js
firefox.desktop
firefox-safe.desktop"
@@ -117,23 +118,30 @@ package() {
exec $_mozappdir/firefox "\$@"
__EOF__
chmod 755 "$pkgdir"/usr/bin/firefox
+
+ # install our vendor prefs
+ install -Dm644 "$srcdir"/vendor.js \
+ "$pkgdir"/$_mozappdir/defaults/preferences/vendor.js
}
md5sums="3a9824f323b4d31f492294582006d430 firefox-19.0.1.source.tar.bz2
98bcd8b2d33037f12ca513882fc5d831 mozconfig
2328df219e042f6aaec361cbf83cf9e9 firefox-5.0-asciidel.patch
7341e290faecd9a827c4d580142699a5 duckduckgo.patch
+1515663477ce427cbdc42f04d8d5ca4e vendor.js
ba96924ece1d77453e462429037a2ce5 firefox.desktop
6f38a5899034b7786cb1f75ad42032b8 firefox-safe.desktop"
sha256sums="1e41aa0b4b0a1a3e6719d69c045f2cb2a473e6d4e8a31e34d4f4723ca10952d2 firefox-19.0.1.source.tar.bz2
0988b03a0532293fbacfd995cdc93df2a10b873cebf4912e1a96cb86f2321312 mozconfig
e1e5b6ab3337a6af5c74be392d32fccfa315191191c622dac4f660157ebf4e7a firefox-5.0-asciidel.patch
034587def9ddd665cc67ebf03db1aae25749ed646e7e8d5758e1278fc75a0f8e duckduckgo.patch
+d72ca759792cc8c88efc664d30087a139fed7fc3d7d058e4cd9ab287bb80ea46 vendor.js
b571c4a49884a3c98806246c9cc3e60c73d5a8f4aeb7f96217db0be1d6210eda firefox.desktop
4b6de45753856a890f4482055666e77f9b01bdfb7e0df08bafaa3a4d9937eed3 firefox-safe.desktop"
sha512sums="5a970abf235d5bd54b9d881d5b00f3718eb3eb52bfdc150008b417c73d2a7178986aa500cc9bbcd7c0c94ad93da215ceda59ca15f189f9e2b47a1618ae4538d8 firefox-19.0.1.source.tar.bz2
f5a3842a04d3fbf433f70fbbbefbf8ee2fce2f25fa041bf4920f99c8842c8a16e0aeaf44e64af14cffcb743c8816ba7aebbbe13e07d0b17ee6a50dbad8f7f645 mozconfig
9ccc74883fa4f3861a5ddde1af9c3c0d151fda8ff64df979ee0565ecd2013a875894e5670a0c1d0a28fbb81fb88759777ce7fcb196e582caeb903c760859a1b1 firefox-5.0-asciidel.patch
d6907d87c14647e3670aef7d55140990e9132f852a097cdc82f4f6f3c6676f1cb6b4ec5aba40d6bec8e9ad45af5e90c9572c1d11c22f2e96bb1bbf3e1bbbefb0 duckduckgo.patch
+93570f821e59af4d233fc4b1df85e1d145a5e041ad402fd72921987a5a2f5218538d7a13d59bbf0bda5e7df1d5281407674a3765625936340106d1185b15b5d8 vendor.js
f3b7c3e804ce04731012a46cb9e9a6b0769e3772aef9c0a4a8c7520b030fdf6cd703d5e9ff49275f14b7d738fe82a0a4fde3bc3219dff7225d5db0e274987454 firefox.desktop
5dcb6288d0444a8a471d669bbaf61cdb1433663eff38b72ee5e980843f5fc07d0d60c91627a2c1159215d0ad77ae3f115dcc5fdfe87e64ca704b641aceaa44ed firefox-safe.desktop"
diff --git a/main/firefox/vendor.js b/main/firefox/vendor.js
new file mode 100644
index 0000000000..2ef8b0d5b2
--- /dev/null
+++ b/main/firefox/vendor.js
@@ -0,0 +1,3 @@
+// Disable default browser checking.
+pref("browser.shell.checkDefaultBrowser", false);
+