Summary: | sys-apps/portage: docompress -x leads to inappropriate rename of symlink to symlink.bz2 | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Justin Lecher (RETIRED) <jlec> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InVCS |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 397801, 402213 |
Description
Justin Lecher (RETIRED)
2012-01-21 10:35:48 UTC
Does the following command produce the intended result? docompress -x /usr/share/doc/${PF}/html No, still the symlink gets compressed where as the directory not. Probably we should never compress symlinks. This should fix it: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=e3ab6f288110602d59c7e8fee8ee8c514c7a4329 As a workaround, you do something like this in pkg_preinst: rm -f "${ED}"/usr/share/doc/${PF}/html.* 2>/dev/null ln -sf en "${ED}"/usr/share/doc/${PF}/html This is fixed in 2.1.10.45 and 2.2.0_alpha85. |