On 12:46 Fri 12 Oct     , Remi Cardona (remi) wrote:
> 1.1                  dev-python/gnome-python/gnome-python-2.20.0.ebuild
> 
> file : 
> http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/gnome-python/gnome-python-2.20.0.ebuild?rev=1.1&view=markup
> plain: 
> http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/gnome-python/gnome-python-2.20.0.ebuild?rev=1.1&content-type=text/plain

> pkg_postinst() {
>       python_version
>       python_mod_optimize /usr/lib/python${PYVER}/site-packages/gtk-2.0
> }
> 
> pkg_postrm() {
>       python_version
>       python_mod_cleanup
> }

Looks like you need get_libdir(), and you don't need to run 
python_version() in postrm.

Thanks,
Donnie
-- 
[EMAIL PROTECTED] mailing list

Reply via email to