]> gitweb.fluxo.info Git - utils-tor.git/commitdiff
Force LC_ALL on torbrowser-launcher
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 5 Feb 2017 12:53:37 +0000 (10:53 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 5 Feb 2017 12:53:37 +0000 (10:53 -0200)
tor-browser

index d447191d610390c946bfdf48723602af664de12c..c6c1a31d9542aabe760c42f327ea281b8fb0fd0e 100755 (executable)
@@ -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`"