rescue: cleanup extra locales

This commit is contained in:
Anton Midyukov 2019-11-13 10:52:30 +07:00
parent 1ddc239364
commit 29906e77c6

View File

@ -0,0 +1,9 @@
#!/bin/sh
# cleanup extra locales
CLEANUP_DIRS="/usr/lib/locale /usr/share/locale"
for CLEANUP_DIR in $CLEANUP_DIRS; do
cd "$CLEANUP_DIR"
rm -fr $(ls -1 |sed '/en_US/d' | tr -s '\r\n' ' ')
done