summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-hooks/13-override-tbb-branding
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-hooks/13-override-tbb-branding')
-rwxr-xr-xconfig/chroot_local-hooks/13-override-tbb-branding5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/chroot_local-hooks/13-override-tbb-branding b/config/chroot_local-hooks/13-override-tbb-branding
index 451c702..488d992 100755
--- a/config/chroot_local-hooks/13-override-tbb-branding
+++ b/config/chroot_local-hooks/13-override-tbb-branding
@@ -4,7 +4,10 @@ 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 \
- /etc/iceweasel/profile/extensions/branding@amnesia.boum.org/defaults/preferences/prefs.js \
+ "${TBB_PROFILE}"/extensions/branding@amnesia.boum.org/defaults/preferences/prefs.js \
/etc/xul-ext/torbutton.js