diff options
author | Justin Bronder <jsbronder@gentoo.org> | 2009-02-22 17:39:58 +0000 |
---|---|---|
committer | Justin Bronder <jsbronder@gentoo.org> | 2009-02-22 17:39:58 +0000 |
commit | 0d011efe25abb964b60540ed3f42adb4c106030c (patch) | |
tree | cb08a5285c9cff2049eca067924046ac7913bacf /sys-cluster | |
parent | Remove old. (diff) | |
download | gentoo-2-0d011efe25abb964b60540ed3f42adb4c106030c.tar.gz gentoo-2-0d011efe25abb964b60540ed3f42adb4c106030c.tar.bz2 gentoo-2-0d011efe25abb964b60540ed3f42adb4c106030c.zip |
Use in pkg_postrm, thanks to dberkholz for pointing out my mistake.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/ganglia/ChangeLog | 5 | ||||
-rw-r--r-- | sys-cluster/ganglia/ganglia-3.1.2.ebuild | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/sys-cluster/ganglia/ChangeLog b/sys-cluster/ganglia/ChangeLog index a48aa8410272..5151b09f6d6a 100644 --- a/sys-cluster/ganglia/ChangeLog +++ b/sys-cluster/ganglia/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-cluster/ganglia # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ChangeLog,v 1.26 2009/02/21 21:42:26 jsbronder Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ChangeLog,v 1.27 2009/02/22 17:39:58 jsbronder Exp $ + + 22 Feb 2009; Justin Bronder <jsbronder@gentoo.org> ganglia-3.1.2.ebuild: + Use in pkg_postrm, thanks to dberkholz for pointing out my mistake. 21 Feb 2009; Justin Bronder <jsbronder@gentoo.org> metadata.xml: May as well take over as maintainer. diff --git a/sys-cluster/ganglia/ganglia-3.1.2.ebuild b/sys-cluster/ganglia/ganglia-3.1.2.ebuild index 3fee3ef4c859..85c2074b1cbd 100644 --- a/sys-cluster/ganglia/ganglia-3.1.2.ebuild +++ b/sys-cluster/ganglia/ganglia-3.1.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ganglia-3.1.2.ebuild,v 1.1 2009/02/21 21:40:40 jsbronder Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ganglia-3.1.2.ebuild,v 1.2 2009/02/22 17:39:58 jsbronder Exp $ WEBAPP_OPTIONAL="yes" inherit multilib webapp depend.php python @@ -139,8 +139,8 @@ pkg_prerm() { pkg_postrm() { use python && \ python_mod_cleanup /usr/$(get_libdir)/ganglia/python_modules/ - [ -d /usr/$(get_libdir)/ganglia ] && \ - rmdir /usr/$(get_libdir)/ganglia 2>/dev/null + [ -d "${ROOT}"/usr/$(get_libdir)/ganglia ] && \ + rmdir "${ROOT}"/usr/$(get_libdir)/ganglia 2>/dev/null } pkg_config() { |