diff options
author | Marijn Schouten <hkbst@gentoo.org> | 2007-06-25 10:25:57 +0000 |
---|---|---|
committer | Marijn Schouten <hkbst@gentoo.org> | 2007-06-25 10:25:57 +0000 |
commit | fcb4ffa4d5fa566290fa199425f4d1a2e063dffa (patch) | |
tree | 8116985a0c63d6eb54cd13a1bf5e544cb36ed11e /dev-scheme/scm/scm-5.5.3.ebuild | |
parent | Version bump (diff) | |
download | gentoo-2-fcb4ffa4d5fa566290fa199425f4d1a2e063dffa.tar.gz gentoo-2-fcb4ffa4d5fa566290fa199425f4d1a2e063dffa.tar.bz2 gentoo-2-fcb4ffa4d5fa566290fa199425f4d1a2e063dffa.zip |
check for ROOT in pkg_postinst, thanks to peper
(Portage version: 2.1.3_rc5)
Diffstat (limited to 'dev-scheme/scm/scm-5.5.3.ebuild')
-rw-r--r-- | dev-scheme/scm/scm-5.5.3.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-scheme/scm/scm-5.5.3.ebuild b/dev-scheme/scm/scm-5.5.3.ebuild index fdbec5074438..54f3cc49b7db 100644 --- a/dev-scheme/scm/scm-5.5.3.ebuild +++ b/dev-scheme/scm/scm-5.5.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/scm/scm-5.5.3.ebuild,v 1.4 2007/06/25 09:14:40 hkbst Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/scm/scm-5.5.3.ebuild,v 1.5 2007/06/25 10:25:57 hkbst Exp $ inherit versionator eutils @@ -44,6 +44,10 @@ src_install() { } pkg_postinst() { + [ "${ROOT}" == "/" ] && pkg_config +} + +pkg_config() { einfo "Regenerating catalog..." scm -e "(require 'new-catalog)" } |