diff options
author | Holger Paradies <retabell@gmx.de> | 2025-05-03 09:24:36 +0200 |
---|---|---|
committer | Holger Paradies <retabell@gmx.de> | 2025-05-03 09:24:36 +0200 |
commit | 00046175a880037b42da7144f9e24e42e5bbd52b (patch) | |
tree | b16c59b284a93291beeff7d07150e50b88dea76b | |
parent | 2a1cf4b4e5218f954ecd319f341b34296b9aa1c0 (diff) | |
download | acritoxinstaller-00046175a880037b42da7144f9e24e42e5bbd52b.zip acritoxinstaller-00046175a880037b42da7144f9e24e42e5bbd52b.tar.gz |
Check for locale.conf
-rw-r--r-- | backend/modules/install_main | 4 |
1 files changed, 3 insertions, 1 deletions
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 |