--- telepathy-butterfly-0.5.1.ebuild +++ telepathy-butterfly-0.5.1.ebuild @@ -36,11 +36,9 @@ } pkg_postinst() { - python_version - python_mod_optimize \ - /usr/$(get_libdir)/python${PYVER}/site-packages/butterfly + python_mod_optimize $(python_get_sitedir)/butterfly } pkg_postrm() { - python_mod_cleanup + python_mod_cleanup $(python_get_sitedir)/butterfly }