summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-hooks/12-enable-icedove-addons
blob: 1d42de3c5e6fc72ae677b2bd7113c9cae7bfffaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -e
set -u

EXT="/usr/lib/icedove/extensions"

[ -d "$EXT" ] || exit 1

echo "Enabling Torbirdy and Enigmail in Icedove"
ln -s /usr/share/xul-ext/torbirdy "$EXT"/castironthunderbirdclub@torproject.org
ln -s /usr/lib/xul-ext/enigmail "$EXT"/\{847b3a00-7ab1-11d4-8f02-006008948af5\}

echo "Enabling the amnesia branding extension in Icedove"
ln -s /usr/local/share/tor-browser-extensions/branding@amnesia.boum.org "$EXT"