fix duckduckgo default search engine

This commit is contained in:
Weng Xuetian 2014-06-13 00:28:45 +00:00
parent 5a31f2596f
commit 3ff528529a
2 changed files with 5 additions and 4 deletions

View File

@ -2,7 +2,7 @@
pkgname=firefox-kde pkgname=firefox-kde
pkgver=30.0 pkgver=30.0
pkgrel=2 pkgrel=3
pkgdesc="Standalone web browser from mozilla.org with OpenSUSE patch, integrate better with KDE" pkgdesc="Standalone web browser from mozilla.org with OpenSUSE patch, integrate better with KDE"
_kmozillahelper_obsver=b88c72dfdc858f6209feb123227bd7df _kmozillahelper_obsver=b88c72dfdc858f6209feb123227bd7df
_kmozillahelper_pkgname=kmozillahelper _kmozillahelper_pkgname=kmozillahelper
@ -168,7 +168,7 @@ package() {
msg "package() Firefox" msg "package() Firefox"
cd "$srcdir/mozilla-release" 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 ../vendor.js "$pkgdir/usr/lib/firefox/browser/defaults/preferences/vendor.js"
install -Dm644 ../kde.js "$pkgdir/usr/lib/firefox/browser/defaults/preferences/kde.js" install -Dm644 ../kde.js "$pkgdir/usr/lib/firefox/browser/defaults/preferences/kde.js"
@ -199,7 +199,7 @@ package() {
sha1sums=('21dce1a2d4b8085c5f7f66b5f4f60bc37598285d' sha1sums=('21dce1a2d4b8085c5f7f66b5f4f60bc37598285d'
'c343b926a24020e84bac33c1bf4e604719305464' 'c343b926a24020e84bac33c1bf4e604719305464'
'86d6c2fe4ec2b3072a132e2afbc0ac798fd51e8f' '86d6c2fe4ec2b3072a132e2afbc0ac798fd51e8f'
'f5a0aa57dfb514da5d7a0eb6d9606e63c4037826' 'ca77a08b296f8673828898d91b20cc6dd8742c2f'
'ce48f8e5065319e191a7389539ec663dc8a919d7' 'ce48f8e5065319e191a7389539ec663dc8a919d7'
'0c3900ffe21bfc3d96b80ade334613bc7e76fe27' '0c3900ffe21bfc3d96b80ade334613bc7e76fe27'
'aa3442d291bd77fefa3758291baa9c609a74e5dc' 'aa3442d291bd77fefa3758291baa9c609a74e5dc'

View File

@ -4,6 +4,7 @@ pref("intl.locale.matchOS", true);
// Enable default browser checking. // Enable default browser checking.
pref("browser.shell.checkDefaultBrowser", true); pref("browser.shell.checkDefaultBrowser", true);
pref("browser.search.defaultenginename", "DuckDuckGo"); pref("browser.search.defaultenginename", "DuckDuckGo");
pref("browser.search.order.extra.duckduckgo", "DuckDuckGo");
pref("browser.search.selectedEngine", "DuckDuckGo"); pref("browser.search.selectedEngine", "DuckDuckGo");
// Don't disable our bundled extensions in the application directory // Don't disable our bundled extensions in the application directory