Also remove empty dirs when removing incomplete translations
This commit is contained in:
@@ -51,6 +51,8 @@ check() {
|
||||
if [ $PERCENT -lt $THRESHOLD ] ; then
|
||||
echo "Removing $lang, only $PERCENT%"
|
||||
rm -f locale/$lang/LC_MESSAGES/phpmyadmin.mo
|
||||
rmdir locale/$lang/LC_MESSAGES
|
||||
rmdir locale/$lang
|
||||
fi
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user