From ed1426d0eaf0eea2ef1af6608d2e66a5f4319f12 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Sun, 10 Dec 2023 22:26:25 +0200 Subject: [PATCH] debian: update distro_setup --- distro-build/debian.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distro-build/debian.sh b/distro-build/debian.sh index 4d4e8ba01..24169d012 100644 --- a/distro-build/debian.sh +++ b/distro-build/debian.sh @@ -36,7 +36,7 @@ write_plugin() { distro_setup() { ${TAB}# Configure en_US.UTF-8 locale. - ${TAB}run_proot_cmd sed -i -E 's/# (en_US.UTF-8)/\1/g' /etc/locale.gen + ${TAB}sed -i -E 's/#[[:space:]]?(en_US.UTF-8[[:space:]]+UTF-8)/\1/g' ./etc/locale.gen ${TAB}run_proot_cmd DEBIAN_FRONTEND=noninteractive dpkg-reconfigure locales }