Summary: | net-fs/samba: stale doc symlinks, pkg_postrm() needed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Carsten Lohrke (RETIRED) <carlo> |
Component: | New packages | Assignee: | Gentoo's SAMBA Team <samba> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | dkarasik, jakub |
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:38:52 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. done. thanks the fix for the fix... pkg_postrm(){ [ -n "${PF}" ] && rm -rf ${ROOT}/usr/share/doc/${PF} } Sorry! fixing fix fixed :-) Reopened, this removes the docs for the *current* version if you just re-emerge it. Mmh... objections to something like this? (this of course relies on portage correctly removing the ${ROOT}/usr/lib/${PN}/* files) pkg_postrm(){ [[ -n "${PF}" && ! -f ${ROOT}/usr/lib/${PN}/en.msg ]] && \ rm -rf ${ROOT}/usr/share/doc/${PF} } latest pkg_postrm in cvs *** Bug 197423 has been marked as a duplicate of this bug. *** Broken once again w/ 3.0.26a at least; seriously I'd rather live with completely harmless stale symlinks; the whole 'fix' should be removed from the ebuild. Pretty likely completely redundant w/ FEATURES="unmerge-orphans" these days anyway. Ok, I removed the broken fix. Really don't think that it's still needed anyway. Didn't do a revision bump, so please just wait a couple of hours, then re-emerge. In case you're not using 3.0.26a, please wait a few days until we begin to stabilize it. Thanks. |