diff --git a/etc/scripts/torbrowser.sh b/etc/scripts/torbrowser.sh index 9e080f1..a5d6d02 100755 --- a/etc/scripts/torbrowser.sh +++ b/etc/scripts/torbrowser.sh @@ -3,7 +3,7 @@ version="$(curl -s https://aus1.torproject.org/torbrowser/update_3/release/downl locale="en-US" # mention your locale. default = en-US if [ -d /etc/default/locale ]; then . /etc/default/locale - locale=$(echo "${LANG}" | sed 's|.UTF-8||g') + locale=$(echo "${LANG}" | cut -d . -f1) fi if [ ! -f ./tor.keyring ]; then