Install glibc-langpack on centos as well

Currently we end up with LANG=en_US.UTF8 without glibc-langpack-en
installed (at least on CentOS 9 Stream).

Change-Id: I252d41d5bc3ea2d1a62795839fedce63923a2a00
This commit is contained in:
Michal Nasiadka 2024-10-23 11:18:23 +02:00
parent 428901ef58
commit 02a3c87559

View File

@ -205,7 +205,7 @@ function _install_pkg_manager {
local _lang_pack=""
local _extra_pkgs=""
if [[ $DISTRO_NAME == "fedora" ]]; then
if [[ ${DISTRO_NAME} =~ (centos|fedora) ]]; then
# glibc from F24 onwards has split locales into "langpack"
# packages. Host yum doesn't understand the
# weak-dependencies glibc now uses to get the