chiark / gitweb /
localectl: support systems without locale-archive
authorGiovanni Campagna <scampa.giovanni@gmail.com>
Sat, 5 Jan 2013 00:29:53 +0000 (01:29 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 7 Jan 2013 14:31:17 +0000 (15:31 +0100)
commit17d33cecaa762f7e43200307328af5e9135e2091
tree05156ae987c70d7630a31c6844b5994e963614b0
parent9261bb7c5058fd543e42020f72f5762349f92c65
localectl: support systems without locale-archive

Not all systems ships with locales inside /usr/lib/locale-archive, some
prefer to have locale data as individual subdirectories of /usr/lib/locale.
(A notable example of this is OpenEmbeddded, and OSes deriving from it
like gnome-ostree).
Given that glibc supports both ways, localectl should too.
src/locale/localectl.c