13-override-tbb-branding 389 B

1234567891011121314
  1. #!/bin/sh
  2. set -e
  3. echo "Overriding TBB branding with our own"
  4. # Import the TBB_PROFILE variable.
  5. . /usr/local/lib/tails-shell-library/tor-browser.sh
  6. install --owner root --group root --mode 0755 --directory /etc/xul-ext
  7. install --owner root --group root --mode 0644 \
  8. "${TBB_PROFILE}"/extensions/branding@amnesia.boum.org/defaults/preferences/prefs.js \
  9. /etc/xul-ext/torbutton.js