[or-cvs] r19497: {incognito} Keep non-english locales even if nls USE-flag is missing. (incognito/trunk)

anonym at seul.org anonym at seul.org
Mon May 11 13:34:36 UTC 2009


Author: anonym
Date: 2009-05-11 09:34:36 -0400 (Mon, 11 May 2009)
New Revision: 19497

Modified:
   incognito/trunk/fsscript.sh
Log:
Keep non-english locales even if nls USE-flag is missing.


Modified: incognito/trunk/fsscript.sh
===================================================================
--- incognito/trunk/fsscript.sh	2009-05-11 01:32:52 UTC (rev 19496)
+++ incognito/trunk/fsscript.sh	2009-05-11 13:34:36 UTC (rev 19497)
@@ -39,12 +39,6 @@
 	rm -rf /var/lib/incognito-menu
 fi
 
-if ! grep 'nls' /var/db/pkg/sys-libs/glibc*/USE >/dev/null 2>&1 ; then
-	echo "Removing all but English locales since I found -nls use flag"
-	grep "^en" /etc/locale.gen > /tmp/locale.gen.en
-	mv /tmp/locale.gen.en /etc/locale.gen
-fi
-
 # Reduce disk usage by removing unnecessary locales
 /usr/sbin/locale-gen
 



More information about the tor-commits mailing list