From 3ff528529a665c7c34bd2fafed3bf9b97ca4a8e1 Mon Sep 17 00:00:00 2001 From: Weng Xuetian Date: Fri, 13 Jun 2014 00:28:45 +0000 Subject: [PATCH] fix duckduckgo default search engine --- firefox-kde/PKGBUILD | 8 ++++---- firefox-kde/vendor.js | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/firefox-kde/PKGBUILD b/firefox-kde/PKGBUILD index 128bb66..25848b8 100644 --- a/firefox-kde/PKGBUILD +++ b/firefox-kde/PKGBUILD @@ -2,7 +2,7 @@ pkgname=firefox-kde pkgver=30.0 -pkgrel=2 +pkgrel=3 pkgdesc="Standalone web browser from mozilla.org with OpenSUSE patch, integrate better with KDE" _kmozillahelper_obsver=b88c72dfdc858f6209feb123227bd7df _kmozillahelper_pkgname=kmozillahelper @@ -167,8 +167,8 @@ package() { msg "package() Firefox" cd "$srcdir/mozilla-release" - - make -f client.mk DESTDIR="$pkgdir" install + + make -f client.mk DESTDIR="$pkgdir" MOZ_PKG_FATAL_WARNINGS=0 install install -Dm644 ../vendor.js "$pkgdir/usr/lib/firefox/browser/defaults/preferences/vendor.js" install -Dm644 ../kde.js "$pkgdir/usr/lib/firefox/browser/defaults/preferences/kde.js" @@ -199,7 +199,7 @@ package() { sha1sums=('21dce1a2d4b8085c5f7f66b5f4f60bc37598285d' 'c343b926a24020e84bac33c1bf4e604719305464' '86d6c2fe4ec2b3072a132e2afbc0ac798fd51e8f' - 'f5a0aa57dfb514da5d7a0eb6d9606e63c4037826' + 'ca77a08b296f8673828898d91b20cc6dd8742c2f' 'ce48f8e5065319e191a7389539ec663dc8a919d7' '0c3900ffe21bfc3d96b80ade334613bc7e76fe27' 'aa3442d291bd77fefa3758291baa9c609a74e5dc' diff --git a/firefox-kde/vendor.js b/firefox-kde/vendor.js index a0adfee..7d4a338 100644 --- a/firefox-kde/vendor.js +++ b/firefox-kde/vendor.js @@ -4,6 +4,7 @@ pref("intl.locale.matchOS", true); // Enable default browser checking. pref("browser.shell.checkDefaultBrowser", true); pref("browser.search.defaultenginename", "DuckDuckGo"); +pref("browser.search.order.extra.duckduckgo", "DuckDuckGo"); pref("browser.search.selectedEngine", "DuckDuckGo"); // Don't disable our bundled extensions in the application directory