summaryrefslogtreecommitdiff
path: root/backend/modules/install_main
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2025-05-03 09:24:36 +0200
committerHolger Paradies <retabell@gmx.de>2025-05-03 09:24:36 +0200
commit00046175a880037b42da7144f9e24e42e5bbd52b (patch)
treeb16c59b284a93291beeff7d07150e50b88dea76b /backend/modules/install_main
parent2a1cf4b4e5218f954ecd319f341b34296b9aa1c0 (diff)
downloadacritoxinstaller-00046175a880037b42da7144f9e24e42e5bbd52b.zip
acritoxinstaller-00046175a880037b42da7144f9e24e42e5bbd52b.tar.gz
Check for locale.conf
Diffstat (limited to 'backend/modules/install_main')
-rw-r--r--backend/modules/install_main4
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