Codebase list kali-defaults / debian/2016.3.0 52kali_fix_lang
debian/2016.3.0

Tree @debian/2016.3.0 (Download .tar.gz)

52kali_fix_lang @debian/2016.3.0raw · history · blame

# This file is here to work around https://bugs.kali.org/view.php?id=2138
# Basically gdm will incorrectly set LANG=C and gnome-terminal doesn't
# like a non-UTF8 locale.

if [ "$LANG" = "C" ]; then
    if [ -e /etc/default/locale ]; then
	. /etc/default/locale
    else
	LANG="C.UTF-8"
    fi
fi