Hi,

someone asked me to comment on this patch. I think it is an improvement
but it will remove too much, since not all packages that ship files
in /usr/share/mime depend on shared-mime-info.

The correct behavior is to remove everything in /usr/share/mime except
the packages/ subdirectory, which is the only one containing the files
shipped by other packages.

Something like this would be better:
( cd /usr/share/mime && rm -rf $(ls |grep -v ^packages$))
rmdir --ignore-fail-on-non-empty /usr/share/mime

Cheers, 
-- 
 .''`.      Josselin Mouette
: :' :
`. `'   “I recommend you to learn English in hope that you in
  `-     future understand things”  -- Jörg Schilling

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée

Reply via email to