From 00046175a880037b42da7144f9e24e42e5bbd52b Mon Sep 17 00:00:00 2001 From: Holger Paradies Date: Sat, 3 May 2025 09:24:36 +0200 Subject: Check for locale.conf --- backend/modules/install_main | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/modules/install_main b/backend/modules/install_main index f630e64..381f2ae 100644 --- a/backend/modules/install_main +++ b/backend/modules/install_main @@ -285,7 +285,9 @@ function copy_etc_to_target() cp -a /etc/localtime $TARGET/etc/localtime cp -a /etc/default/keyboard $TARGET/etc/default/keyboard cp -a /etc/default/locale $TARGET/etc/default/locale - cp -a /etc/locale.conf $TARGET/etc/locale.conf + if [ -e /etc/locale.conf ]; then + cp -a /etc/locale.conf $TARGET/etc/locale.conf + fi cp -a /etc/locale.gen $TARGET/etc/locale.gen cp -a /etc/apt/sources.list.d/*.list $TARGET/etc/apt/sources.list.d/ cp -a /etc/machine-id $TARGET/etc/machine-id -- cgit v1.0