Closes: https://bugs.gentoo.org/709470
Signed-off-by: Michał Górny <mgorny@gentoo.org>
python_install() {
distutils-r1_python_install
- cd "${D%}$(python_get_sitedir)" || die
+ cd "${D}$(python_get_sitedir)" || die
# own the dropin.cache so we don't leave orphans
touch twisted/plugins/dropin.cache || die
}
python_postrm() {
- rm -f "${ROOT%}$(python_get_sitedir)/twisted/plugins/dropin.cache" || die
+ rm -f "${ROOT}$(python_get_sitedir)/twisted/plugins/dropin.cache" || die
}
pkg_postrm(){