summaryrefslogtreecommitdiffstats
path: root/core/modules/german/module.build
diff options
context:
space:
mode:
authorSimon Rettberg2020-05-19 17:11:47 +0200
committerroot2020-05-19 17:11:47 +0200
commit0123b8615c58f2de3e8b95bdcb2d7dc808ab9196 (patch)
tree599151dee415ab5e57099c101a88eee0bcd41e7b /core/modules/german/module.build
parent[rfs-stage31] Don't check for misc kernel module folder (diff)
downloadmltk-0123b8615c58f2de3e8b95bdcb2d7dc808ab9196.tar.gz
mltk-0123b8615c58f2de3e8b95bdcb2d7dc808ab9196.tar.xz
mltk-0123b8615c58f2de3e8b95bdcb2d7dc808ab9196.zip
Debian!
Diffstat (limited to 'core/modules/german/module.build')
-rw-r--r--core/modules/german/module.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/modules/german/module.build b/core/modules/german/module.build
index 8ba140ce..7c0159f5 100644
--- a/core/modules/german/module.build
+++ b/core/modules/german/module.build
@@ -16,6 +16,10 @@ build() {
grep -q -E -r '^\s*de_DE\.UTF-8' "/var/lib/locales/supported.d" || echo 'de_DE.UTF-8 UTF-8' >> "/var/lib/locales/supported.d/openslx"
locale-gen --no-archive --purge "de_DE.UTF-8" || perror "Could not generate locales (ubuntu style)"
fi
+ # Debian's version
+ if ! [ -d /usr/lib/locale/de_DE.utf8 ]; then
+ localedef -f UTF-8 -i de_DE --no-archive /usr/lib/locale/de_DE.utf8 || perror "Could not gen locales"
+ fi
# Put everything we build or get from the system in build dir
local FILELIST="$MODULE_WORK_DIR/list_copy_build"