git » shared-mime-info.git » main » tree

[main] / shared-mime-info.install

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