Commit 4eb43396 authored by Tails developers's avatar Tails developers
Browse files

Do all perparations in the temporary directory.

parent 7f64bf6d
......@@ -70,12 +70,12 @@ install_tor_browser() {
# has the extensions.torbutton.test_enabled boolean pref as a workaround.
rm "${prep}/TorBrowser/Data/Browser/profile.default/extensions/"
mv "${prep}" "${destination}"
# The Tor Browser will fail, complaining about an incomplete profile,
# unless there's a readable Browser/TorBrowser/Data/Browser/Caches
# unless there's a readable TorBrowser/Data/Browser/Caches
# in the directory where the firefox executable is located.
mkdir -p "${destination}"/TorBrowser/Data/Browser/Caches
mkdir -p "${prep}"/TorBrowser/Data/Browser/Caches
mv "${prep}" "${destination}"
rm -r "${tmp}"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment