Merge branch 'master' of git://git.tails.boum.org/tails
[besstails.git] / config / chroot_local-hooks / 14-generate-iceweasel-profile
blob5d458a85ddb8a0db6166a7c1ed690c12817994db
1 #!/bin/sh
3 #generate iceweasel profile at build time, so that it has a fixed name
5 set -e
6 apt-get --yes install xvfb
7 TOR_SOCKS_HOST='127.0.0.1' TOR_SOCKS_PORT='9063' xvfb-run iceweasel -CreateProfile default
8 mv ~/.mozilla/firefox/*.default ~/.mozilla/firefox/default
9 sed -i "s@Path=.*\.default@Path=default@" ~/.mozilla/firefox/profiles.ini
10 mv ~/.mozilla /etc/skel
11 chmod -R go+rX /etc/skel/.mozilla
12 apt-get --yes purge xvfb