summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authoranonym <anonym@riseup.net>2016-05-11 13:55:03 +0200
committeranonym <anonym@riseup.net>2016-05-15 05:18:35 +0200
commit588eafacf8e48e4ff4ed1fc41c59d9b059957107 (patch)
treea063755c4c1d047ebbc9daffdfe7c5895194162b /config
parentdb61e5ed556fbd499de6f4e4396399212ca17e8c (diff)
Drop localized search plugins provided by the iceweasel-l10n packages.
They contain a lot of commercial crap and haven't been audited from a privacy PoV. We began installing these mostly to get localized versions of the search engine and wikipedia plugins, but we now generate localized version of them ourselves. Will-fix: #11418
Diffstat (limited to 'config')
-rw-r--r--config/chroot_local-hooks/11-localize_browser23
1 files changed, 0 insertions, 23 deletions
diff --git a/config/chroot_local-hooks/11-localize_browser b/config/chroot_local-hooks/11-localize_browser
index 7afc7df..813d05d 100644
--- a/config/chroot_local-hooks/11-localize_browser
+++ b/config/chroot_local-hooks/11-localize_browser
@@ -142,29 +142,6 @@ while IFS=: read MOZILLA_LOCALE LOCATION LOCALIZED_LANG STARTPAGE_LANG STARTPAGE
fi
set_simple_config_key "${TARGET_BRANDING_FILE}" \
"browser.startup.homepage" "${HOMEPAGE}"
-
- # We also want the localized search plugins from Debian's
- # Iceweasel packages. Note that en-US doesn't have one; the
- # en-US search plugins are in the iceweasel package, but it
- # would only add search engines that we have decided to
- # exclude so let's skip it.
- if [ "${MOZILLA_LOCALE}" != en-US ]; then
- PKG="iceweasel-l10n-$(echo "${MOZILLA_LOCALE}" | tr 'A-Z' 'a-z')"
- DEB_PATH_TO_SEARCHPLUGINS="etc/iceweasel/searchplugins/locale/${MOZILLA_LOCALE}"
- TMP="$(mktemp -d)"
- cd "${TMP}"
- apt-get download "${PKG}"
- ar x "${PKG}"*.deb
- tar xf data.tar.* ./"${DEB_PATH_TO_SEARCHPLUGINS}"
- rm -f "${DEB_PATH_TO_SEARCHPLUGINS}"/amazon*.xml \
- "${DEB_PATH_TO_SEARCHPLUGINS}"/bing*.xml \
- "${DEB_PATH_TO_SEARCHPLUGINS}"/eBay*.xml \
- "${DEB_PATH_TO_SEARCHPLUGINS}"/yahoo*.xml \
- "${DEB_PATH_TO_SEARCHPLUGINS}"/wikipedia*.xml
- cp "${DEB_PATH_TO_SEARCHPLUGINS}"/* "${TARGET_SEARCHPLUGINS_DIR}"
- cd /
- rm -r "${TMP}"
- fi
done < "${DESCRIPTIONS_FILE}"
# This directory is not needed after build time.