summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-hooks/12-tor-browser-ddg-fixup
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2017-02-07 01:46:02 +0000
committerintrigeri <intrigeri@boum.org>2017-02-07 01:46:02 +0000
commita125665e9ca875c16465f014c3cafe002eef1572 (patch)
tree375e19d545131856a70684c5fce29bb415eb299b /config/chroot_local-hooks/12-tor-browser-ddg-fixup
parent0bab7e30681f7b481f5967d38686770460533b4c (diff)
parent4bb09f3837bd8864afd085e69654cd497690fe70 (diff)
Merge remote-tracking branch 'origin/devel' into feature/tor-nightly-master
Diffstat (limited to 'config/chroot_local-hooks/12-tor-browser-ddg-fixup')
-rw-r--r--config/chroot_local-hooks/12-tor-browser-ddg-fixup20
1 files changed, 0 insertions, 20 deletions
diff --git a/config/chroot_local-hooks/12-tor-browser-ddg-fixup b/config/chroot_local-hooks/12-tor-browser-ddg-fixup
deleted file mode 100644
index 4b6c422..0000000
--- a/config/chroot_local-hooks/12-tor-browser-ddg-fixup
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-# This hook backports the only relevant fix introduced in -build7,
-# which later was released as Tor Browser 6.0.6.
-
-set -e
-
-echo "Add DDG search plugin fixup to Tor Browser 6.0.6-build6"
-
-# Import the TBB_INSTALL variable and supported_tor_browser_locales()
-. /usr/local/lib/tails-shell-library/tor-browser.sh
-
-OMNI="${TBB_INSTALL}/browser/omni.ja"
-TMP="$(mktemp -d)"
-DDG="chrome/en-US/locale/browser/searchplugins/ddg.xml"
-7z x -o"${TMP}" "${OMNI}" "${DDG}"
-sed -i 's@<Url type="text/html" method="POST" template="https://duckduckgo.com/">@<Url type="text/html" method="POST" template="https://duckduckgo.com/html">@' "${TMP}/${DDG}"
-( cd "${TMP}" ; 7z u -tzip "${OMNI}" . )
-chmod a+r "${OMNI}"
-rm -r "${TMP}"