2 if [ -d usr/share/mime ]; then
3 rm -f usr/share/mime/{globs,globs2,icons,treemagic,generic-icons,types,magic,XMLnamespaces,subclasses,aliases,mime.cache}
4 rm -rf usr/share/mime/{application,audio,image,inode,message,model,multipart,text,video,x-content,x-epoc}
5 rmdir --ignore-fail-on-non-empty usr/share/mime