summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2012-01-22 01:34:18 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2012-01-22 01:34:18 +0000
commit3ac4992a95e5d308f8ba09cd42ef4beed2b24cc7 (patch)
tree2eb02428376ab105f66dc6209bcc4f6757000337 /media-video/totem/totem-2.32.0-r2.ebuild
parentAdd PYTHON_USE_WITH_OPT to not pull in python when USE=-python (bug #398949, ... (diff)
downloadgentoo-2-3ac4992a95e5d308f8ba09cd42ef4beed2b24cc7.tar.gz
gentoo-2-3ac4992a95e5d308f8ba09cd42ef4beed2b24cc7.tar.bz2
gentoo-2-3ac4992a95e5d308f8ba09cd42ef4beed2b24cc7.zip
Don't run python_mod_cleanup in pkg_postrm if python was disabled (prevents _python_check_python_pkg_setup_execution errors).
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'media-video/totem/totem-2.32.0-r2.ebuild')
-rw-r--r--media-video/totem/totem-2.32.0-r2.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/media-video/totem/totem-2.32.0-r2.ebuild b/media-video/totem/totem-2.32.0-r2.ebuild
index 9cd86c7e4402..bbee53bdc92f 100644
--- a/media-video/totem/totem-2.32.0-r2.ebuild
+++ b/media-video/totem/totem-2.32.0-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/totem/totem-2.32.0-r2.ebuild,v 1.9 2012/01/22 01:25:00 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/totem/totem-2.32.0-r2.ebuild,v 1.10 2012/01/22 01:34:18 tetromino Exp $
EAPI="3"
GCONF_DEBUG="yes"
@@ -198,5 +198,5 @@ pkg_postinst() {
pkg_postrm() {
gnome2_pkg_postrm
- python_mod_cleanup /usr/$(get_libdir)/totem/plugins
+ use python && python_mod_cleanup /usr/$(get_libdir)/totem/plugins
}