rescue: cleanup extra locales
This commit is contained in:
parent
1ddc239364
commit
29906e77c6
9
features.in/rescue/rescue/image-scripts.d/70-cleanup-locale.sh
Executable file
9
features.in/rescue/rescue/image-scripts.d/70-cleanup-locale.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user