pmbootstrap/pmb/config
Pablo Correa Gómez ecb7660f15
config: use en_US as default locale
In theory, the en_US locale is supposed to be aimed at people, while the
C locale is aimed as computers. In theory, one of the remarkable
differences is in sorting:

$ printf '%s\n' \| a \0 \^ \& B c C | LC_COLLATE=C.UTF-8 sort
&
0
B
C
^
a
c
|

The non-sense there is obvious, with "^" sorting in between the letters,
"|" afterwards and sorting of capitals and non-capitals split. The reason
is the ordering is based on the ascii table. In theory, an en_US locale
should be able to provide a sensitive ordering, but what takes care of it
is the libc, and musl does not have it properly implemented. So LC_COLLATE=en_US
will still give the same results. However, that's hopefully going to change
at some point, and there's no harm in setting a sensible locale by default.

Signed-off-by: Pablo Correa Gómez <ablocorrea@hotmail.com>
Reviewed-by: Oliver Smith <ollieparanoid@postmarketos.org>
2023-06-03 16:48:12 +02:00
..
__init__.py config: use en_US as default locale 2023-06-03 16:48:12 +02:00
init.py pmb.config.init: copy pmaports githooks to default git hooks dir 2023-04-15 01:44:36 +02:00
load.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
merge_with_args.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
pmaports.py Move version to pmb.__version__ 2023-04-15 01:44:37 +02:00
save.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
sudo.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
workdir.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00