summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-base/gnome-menus/gnome-menus-2.30.2.ebuild')
-rw-r--r--gnome-base/gnome-menus/gnome-menus-2.30.2.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/gnome-base/gnome-menus/gnome-menus-2.30.2.ebuild b/gnome-base/gnome-menus/gnome-menus-2.30.2.ebuild
index 71b9ec88b182..740c5053acf4 100644
--- a/gnome-base/gnome-menus/gnome-menus-2.30.2.ebuild
+++ b/gnome-base/gnome-menus/gnome-menus-2.30.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-menus/gnome-menus-2.30.2.ebuild,v 1.1 2010/06/22 13:00:17 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-menus/gnome-menus-2.30.2.ebuild,v 1.2 2010/06/23 14:55:34 arfrever Exp $
EAPI="2"
inherit eutils gnome2 python
@@ -68,7 +68,6 @@ src_install() {
pkg_postinst() {
gnome2_pkg_postinst
if use python; then
- python_version
python_need_rebuild
python_mod_optimize $(python_get_sitedir)/GMenuSimpleEditor
fi
@@ -81,5 +80,7 @@ pkg_postinst() {
pkg_postrm() {
gnome2_pkg_postrm
- python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/GMenuSimpleEditor
+ if use python; then
+ python_mod_cleanup $(python_get_sitedir)/GMenuSimpleEditor
+ fi
}