2007-10-15 01:11:30 |
Daniel Hahler |
description |
Binary package hint: belocs-locales-bin
install-language-pack gets called in the postinst script for all language-pack-XX-base, with the locale of that package.
This calls for trouble, if you have multiple languages installed and set PURGE=yes in /etc/belocs/locale-gen.conf: locale-gen will purge all existing locales, but only create the currently installed ones again.
The fix for this appears to be:
1. Introduce a "--no-purge" command line option for locale-gen
2. Use this option from install-language-pack
Fortunately, the default for PURGE is "no", so you have to manually change this in "locale-gen.conf", but it's a bug nonetheless.
I might file another "wishlist" bug to always regenerate all locales, if PURGE is "yes", but that's something different as far as I can see. |
Binary package hint: belocs-locales-bin
install-language-pack gets called in the postinst script for all language-pack-XX-base, with the locale of that package.
This calls for trouble, if you have multiple languages installed and set PURGE=yes in /etc/belocs/locale-gen.conf: locale-gen will purge all existing locales, but only create the currently installed ones again.
The fix for this appears to be:
1. Introduce a "--no-purge" command line option for locale-gen
2. Use this option from install-language-pack
Fortunately, the default for PURGE is "no", so you have to manually change this in "locale-gen.conf", but it's a bug nonetheless.
(Additionally, when a locale is given, only this locale should get purged (instead of all). But this changes existing behaviour, is not really necessary to fix this bug and should be a new bug itself probably.) |
|