diff options
author | Bertrand Jacquin <bertrand@jacquin.bzh> | 2018-08-28 23:53:21 +0100 |
---|---|---|
committer | Bertrand Jacquin <bertrand@jacquin.bzh> | 2018-10-05 00:10:37 +0100 |
commit | e73fe1ed1b598b6dc40622534c011a2fd69cd29e (patch) | |
tree | 9ef69b7c0dcca5b3418f73721782532ce0297422 /profiles/common | |
parent | profiles/common: Remove old pre_src_configure (diff) | |
download | portage-e73fe1ed1b598b6dc40622534c011a2fd69cd29e.tar.xz |
profiles/common: Do not drop C locale
Diffstat (limited to 'profiles/common')
-rw-r--r-- | profiles/common/profile.bashrc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/profiles/common/profile.bashrc b/profiles/common/profile.bashrc index de6fc0ea..c60fbb55 100644 --- a/profiles/common/profile.bashrc +++ b/profiles/common/profile.bashrc @@ -118,7 +118,10 @@ function __drop-nls-locales () { sort | while read ; do _l="${REPLY##*/}" - if has "${_l}" ${LINGUAS} ; then + + if [[ "${_l}" == "C" ]] ; then + continue + elif has "${_l}" ${LINGUAS} ; then continue elif has "${_l/_/-}" ${L10N} ; then continue |