3 #generate iceweasel profile at build time, so that it has a fixed name
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