Commit 9ab1c6df authored by Tails developers's avatar Tails developers

Explicitly extract expected directory from archive.

If the name of the Tor Browser directory ever changes the script will
fail here with an informative error message.
parent bcd8c314
......@@ -64,7 +64,7 @@ echo "${BUNDLES}" | while read expected_sha256 tarball; do
done
# We'll use the en-US bundle as our basis...
tar -xf "${TMP}/${MAIN_BUNDLE}" -C "${TMP}"
tar -xf "${TMP}/${MAIN_BUNDLE}" -C "${TMP}" tor-browser_en-US
TBB_PREP="${TMP}"/tor-browser_en-US
# ... only extracting the localization addon from the other ones, which
......
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