diff options
author | Simon Rettberg | 2020-05-19 17:11:47 +0200 |
---|---|---|
committer | root | 2020-05-19 17:11:47 +0200 |
commit | 0123b8615c58f2de3e8b95bdcb2d7dc808ab9196 (patch) | |
tree | 599151dee415ab5e57099c101a88eee0bcd41e7b /core/modules/german | |
parent | [rfs-stage31] Don't check for misc kernel module folder (diff) | |
download | mltk-0123b8615c58f2de3e8b95bdcb2d7dc808ab9196.tar.gz mltk-0123b8615c58f2de3e8b95bdcb2d7dc808ab9196.tar.xz mltk-0123b8615c58f2de3e8b95bdcb2d7dc808ab9196.zip |
Debian!
Diffstat (limited to 'core/modules/german')
-rw-r--r-- | core/modules/german/module.build | 4 | ||||
-rw-r--r-- | core/modules/german/module.conf.debian | 6 | ||||
-rw-r--r-- | core/modules/german/module.conf.ubuntu | 1 |
3 files changed, 7 insertions, 4 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" diff --git a/core/modules/german/module.conf.debian b/core/modules/german/module.conf.debian index 99b9fd71..6660ca1c 100644 --- a/core/modules/german/module.conf.debian +++ b/core/modules/german/module.conf.debian @@ -1,11 +1,11 @@ #!/bin/bash REQUIRED_INSTALLED_PACKAGES=" - libX11-data + libx11-data " REQUIRED_CONTENT_PACKAGES=" - libX11-data + libx11-data " REQUIRED_DIRECTORIES+=" - /usr/lib/locale + /usr/lib/locale/de_DE.utf8 " diff --git a/core/modules/german/module.conf.ubuntu b/core/modules/german/module.conf.ubuntu index 2eec699e..6660ca1c 100644 --- a/core/modules/german/module.conf.ubuntu +++ b/core/modules/german/module.conf.ubuntu @@ -1,7 +1,6 @@ #!/bin/bash REQUIRED_INSTALLED_PACKAGES=" libx11-data - language-pack-de " REQUIRED_CONTENT_PACKAGES=" libx11-data |