[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How to handle FHS conversion?

Hi *, 

Simple question: Is there a canonical way to move the documentation directory
from /usr/doc to /usr/share/doc? I have converted a small package of mine to
FHS - I installed the documentation in /usr/share/doc and made a link from
/usr/doc/package to /usr/share/doc/package. Problem: On upgrade the directory
/usr/doc/package is still there so dpkg can not make the symlink. 

I ended up with an empty /usr/doc/package. My current workaround is deleting
/usr/doc/gnofin in the preinst. Is there a better way?


Attachment: pgptuhKfhfcEf.pgp
Description: PGP signature

Reply to: