Add support for Arch Linux /etc/locale.gen
Fixes #5 (closed)
@smcv probably you wanted to keep the SRT_LOCALE_ISSUES_I18N_SUPPORTED_MISSING
error if SUPPORTED
was missing, but I guess this will be down to the question: What do we want SRT_LOCALE_ISSUES_I18N_SUPPORTED_MISSING
to represent?
If the answer is that we expect this flag every time /usr/share/i18n/SUPPORTED
is not available then we should keep reporting it.
But instead if the answer is that we expect the flag only when the user is running a distribution with a different default that we don't know about, or that SUPPORT
was supposed to be there but it's missing, then it's OK to avoid reporting any locale errors if the OS is Arch Linux. That's because if locale.gen
is present, and SUPPORT
missing, then we know that this is the expected behaviour.
/cc @smcv