Instead of fixing it to be all XSI compatabile and shiny, you should have removed the /usr/doc link code. It is currently a bug to have /usr/doc links so I am repurposing this bug report for that.
-- see shy jo
signature.asc
Description: Digital signature

