aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-02-05 10:53:37 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-02-05 10:53:37 -0200
commit6e052ac04d9f7e3f94413e460190ec37b95160c9 (patch)
tree4d3d698013f6bb81c4b743e3babc1cd0481d2504
parentfee85addb1938cb4c9bb70041f3b27aca2782782 (diff)
downloadutils-tor-6e052ac04d9f7e3f94413e460190ec37b95160c9.tar.gz
utils-tor-6e052ac04d9f7e3f94413e460190ec37b95160c9.tar.bz2
Force LC_ALL on torbrowser-launcher
-rwxr-xr-xtor-browser5
1 files changed, 3 insertions, 2 deletions
diff --git a/tor-browser b/tor-browser
index d447191..c6c1a31 100755
--- a/tor-browser
+++ b/tor-browser
@@ -19,9 +19,10 @@ if which torbrowser-launcher &> /dev/null; then
)
fi
- # Launch the other wrapper
+ # Launch the other wrapper, forcing default locale to avoid any issues like
+ # lack of localized tor browser package.
mkdir -p $FOLDER/Logs
- torbrowser-launcher &> $FOLDER/Logs/torbrowser-launcher.log &
+ LC_ALL=C torbrowser-launcher &> $FOLDER/Logs/torbrowser-launcher.log &
else
# Classic mode
ARCH="`uname -m`"