diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-10-26 09:05:04 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-10-26 09:23:20 +0100 |
commit | 4cd217c05ea6fbb9e9269fdd202bafe4d190c29a (patch) | |
tree | 22e475bedbd3e65f60c3c255bf2572a36ee62fc2 /perl-install/standalone/drakclock | |
parent | e9d30f33a0edb88a819c67cfc14ed5ce66312ceb (diff) | |
download | drakx-4cd217c05ea6fbb9e9269fdd202bafe4d190c29a.tar drakx-4cd217c05ea6fbb9e9269fdd202bafe4d190c29a.tar.gz drakx-4cd217c05ea6fbb9e9269fdd202bafe4d190c29a.tar.bz2 drakx-4cd217c05ea6fbb9e9269fdd202bafe4d190c29a.tar.xz drakx-4cd217c05ea6fbb9e9269fdd202bafe4d190c29a.zip |
fix selecting of uneeded locales (mga#3723)
original fix by Pablo Saratxaga
Mageia has he ability to choose both *language* and *country*
Language is used for choosing translations to be displayed, etc.
country for things like currency, etc.
(country may be deduced from other geographical settings rather than
choosen directly, but that is not the problem).
GNU libc locales embedd both concepts (language and country) in a single
locale.
Obviously those exists for only some combinations.
For cases were an existing matching locale doesn't exists, Mageia
chooses two locales, one for the language oriented settings, and another
four the country oriented settings.
Unlike normal installer where packages to be installed are choosen; in
draklive-install, we have a set of "all packages", and "uneeded" ones
are removed.
The problem was obviously the installer didn't see the "need" for the
locales-xx package for country; only language was checked.
This fixes that, the idea is to check for *both* $locale->{lang} and
$locale->{country}, which can lead two *two* neeeded locales-xx packages
Diffstat (limited to 'perl-install/standalone/drakclock')
0 files changed, 0 insertions, 0 deletions