Summary: | app-office/scribus: stale doc symlinks, pkg_postrm() needed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Carsten Lohrke (RETIRED) <carlo> |
Component: | New packages | Assignee: | Hanno Böck <hanno> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | rockoo |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 100742 | ||
Bug Blocks: |
Description
Carsten Lohrke (RETIRED)
2005-07-17 16:30:38 UTC
proposed fix: pkg_postrm(){ [ -n "${PF}" ] && rm -rf /usr/share/doc/${PF} } This doesn't clean up stale directories of previous versions, but is as safe as possible, imho. better make that pkg_postrm(){ [ -n "${PF}" ] && rm -rf ${ROOT}/usr/share/doc/${PF} } This removes the docs for the *current* version if you just re-emerge it. I've now changed the scribus-ebuild not to symlink the docs, but to move them completely to /usr/share/doc. This won't remove old stale symlinks, but it will not create new ones. |