I made a couple of minor changes to the script (attached). Those changes would improve it a bit IMO, if going back to the old script is considered 'too much'. Especially they would prevent that a command like
sudo locale-gen en_US.UTF-8 or sudo locale-gen --purge results in a broken locale without the user being aware of what happened. The modified script also allows multiple (valid) language code arguments, so sudo locale-gen en ja generates the English and Japanese locales, and not only the Japanese. ** Patch added: "locale-gen.diff" https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1560577/+attachment/4608146/+files/locale-gen.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1560577 Title: Confusing new locale-gen behavior To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1560577/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
