diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2022-06-03 13:29:47 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-06-03 22:08:37 +0200 |
commit | c9bd01ae902d66acd8647a1cc0167bc0d246cbc8 (patch) | |
tree | 54aa784cc27cfb2f23824caa7333d6dd9df10655 /tools/choose-default-locale.sh | |
parent | core: suppress message about missing libbpf if in initrd() (diff) | |
download | systemd-c9bd01ae902d66acd8647a1cc0167bc0d246cbc8.tar.xz systemd-c9bd01ae902d66acd8647a1cc0167bc0d246cbc8.zip |
meson: Switch default-locale default to C.UTF-8
We're already using C.UTF-8 as the default locale for nspawn. Let's
make the same change for the default-locale option instead of deciding
what to use based on the locale used by the host system. Users can
still override the locale using the default-locale option if needed.
Diffstat (limited to 'tools/choose-default-locale.sh')
-rwxr-xr-x | tools/choose-default-locale.sh | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tools/choose-default-locale.sh b/tools/choose-default-locale.sh deleted file mode 100755 index a5158cf7c5..0000000000 --- a/tools/choose-default-locale.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -# SPDX-License-Identifier: LGPL-2.1-or-later -set -e - -# Fedora uses C.utf8 but Debian uses C.UTF-8 -if locale -a | grep -xq -E 'C\.(utf8|UTF-8)'; then - echo 'C.UTF-8' -elif locale -a | grep -xqF 'en_US.utf8'; then - echo 'en_US.UTF-8' -else - echo 'C' -fi |