summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-hooks/12-tor-browser-ddg-fixup
diff options
context:
space:
mode:
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}"