Skip to content

Commit

Permalink
Remove LC_MESSAGES only instead of all locales
Browse files Browse the repository at this point in the history
LC_TIME is actually still useful for local time zone information.
GH-7
  • Loading branch information
casr committed Jan 14, 2014
1 parent 82b1e2d commit cb8e492
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ks.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,8 @@ chkconfig --level 345 rpcgssd off
chkconfig --level 345 rpcidmapd off
chkconfig --level 2345 sshd off

# Just keep US English.
find /usr/share/locale -mindepth 1 -maxdepth 1 -type d \
-not -name en -not -name en_US -not -name 'en@*' \
-exec rm -rf {} +
# Delete language support.
rm -rf /usr/share/locale/*/LC_MESSAGES/

localedef --list-archive | \
grep -vE '^en_US.*' | \
Expand Down

0 comments on commit cb8e492

Please sign in to comment.