Bug#316003: Last version of the patch to avoid listing the current locale in the additional locales screen
For the record, here's a better version of the patch.
--
--- localechooser.old 2005-12-19 19:18:03.950097662 +0100
+++ localechooser 2005-12-19 22:32:35.807347298 +0100
@@ -525,7 +525,7 @@
# Ask for additional locales to be generated
CHOICES=
# *.UTF-8@euro locales are deprecated; don't use them.
- for i in $(grep -v '\.UTF-8@euro$' $SUPPORTEDLOCALES); do
+ for i in $(grep -v '\.UTF-8@euro$' $SUPPORTEDLOCALES | grep -v "^$localecode$"); do
if [ -z "$CHOICES" ]; then
CHOICES="$i"
else
Reply to: