summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-hooks/13-override-tbb-branding
blob: 488d992dbbfa4ff5364d22253f51bf26a4e8badb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

echo "Overriding TBB branding with our own"

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

install --owner root --group root --mode 0755 --directory /etc/xul-ext
install --owner root --group root --mode 0644 \
   "${TBB_PROFILE}"/extensions/branding@amnesia.boum.org/defaults/preferences/prefs.js \
   /etc/xul-ext/torbutton.js