summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-hooks/20-xul-ext_symlinks
blob: 68a3de44f32cadc6f6ae7f36d690dca3c4c7ca97 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -e

echo "Creating prefs override for Tor Launcher"

# Import the TOR_LAUNCHER_INSTALL variable.
. /usr/local/lib/tails-shell-library/tor-browser.sh

ln -s /etc/xul-ext/tor-launcher.js \
      "${TOR_LAUNCHER_INSTALL}/defaults/preferences/000system.js"