summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranonym <anonym@riseup.net>2019-02-14 10:24:45 +0100
committeranonym <anonym@riseup.net>2019-02-22 15:30:58 +0100
commit7dc8f638eaf00201a441d5a74337174c1d3912b7 (patch)
tree2981e092772cf99ebb96b1de96186a75ff206706
parentd72efd1f7baf2037e58813ffbdf3b45a7e809b5c (diff)
Tor Launcher: add langpacks to enable localization (Will-fix: #16338).
Regression introduced when migrating to Tor Browser 8.x in Tails 3.9~rc1 (Tails 3.8 with the last Tor Browser 7.5.x release is fine).
-rwxr-xr-xconfig/chroot_local-includes/usr/local/bin/tor-launcher7
1 files changed, 5 insertions, 2 deletions
diff --git a/config/chroot_local-includes/usr/local/bin/tor-launcher b/config/chroot_local-includes/usr/local/bin/tor-launcher
index e610166..3f4cfdd 100755
--- a/config/chroot_local-includes/usr/local/bin/tor-launcher
+++ b/config/chroot_local-includes/usr/local/bin/tor-launcher
@@ -18,8 +18,11 @@ fi
PROFILE="${HOME}/.tor-launcher/profile.default"
if [ ! -d "${PROFILE}" ]; then
- mkdir -p "${PROFILE}"
- configure_best_tor_launcher_locale "${PROFILE}"
+ mkdir -p "${PROFILE}/extensions"
+ for ext in "${TBB_EXT}"/langpack-*.xpi; do
+ ln -s "${ext}" "${PROFILE}/extensions/"
+ done
+ configure_best_tor_launcher_locale "${PROFILE}"
fi
exec_unconfined_firefox \