Created
September 1, 2017 10:29
-
-
Save PavelJurasek/f18478c3d89e184f58a0c76068f973ae to your computer and use it in GitHub Desktop.
Remove unused langs from ckeditor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for f in `find ckeditor/plugins/**/lang -type f`; do | |
grep -q "lang/[^(cs|en)].js" $f; | |
if [ $? -eq 1 ]; then | |
rm $f; | |
fi; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment