summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haubenwallner <haubi@gentoo.org>2009-07-22 16:29:51 +0000
committerMichael Haubenwallner <haubi@gentoo.org>2009-07-22 16:29:51 +0000
commitd351cdc39fd8f73e286d40bb25f79017f6c3a692 (patch)
tree2c86ffb69852a3044291f8cd9ae3258874875297 /profiles/prefix/hpux
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-d351cdc39fd8f73e286d40bb25f79017f6c3a692.tar.gz
gentoo-2-d351cdc39fd8f73e286d40bb25f79017f6c3a692.tar.bz2
gentoo-2-d351cdc39fd8f73e286d40bb25f79017f6c3a692.zip
work around missing mechanism to stack profile.bashrc hooks
Diffstat (limited to 'profiles/prefix/hpux')
-rw-r--r--profiles/prefix/hpux/profile.bashrc16
1 files changed, 9 insertions, 7 deletions
diff --git a/profiles/prefix/hpux/profile.bashrc b/profiles/prefix/hpux/profile.bashrc
index 73b8c76aab07..3f74ac3efe38 100644
--- a/profiles/prefix/hpux/profile.bashrc
+++ b/profiles/prefix/hpux/profile.bashrc
@@ -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/profiles/prefix/hpux/profile.bashrc,v 1.3 2009/07/21 09:49:09 haubi Exp $
+# $Header: /var/cvsroot/gentoo-x86/profiles/prefix/hpux/profile.bashrc,v 1.4 2009/07/22 16:29:51 haubi Exp $
# On hpux, binary files (executables, shared libraries) in use
# cannot be replaced during merge.
@@ -99,10 +99,12 @@ prefix_hpux-pre_pkg_postinst() {
hpux-busytext-cleanup
}
-post_pkg_preinst() {
- prefix_hpux-post_pkg_preinst
-}
+# These are because of
+# http://archives.gentoo.org/gentoo-dev/msg_529a0806ed2cf841a467940a57e2d588.xml
+# The profile-* ones are meant to be used in etc/portage/profile.bashrc by user
+# until there is the registration mechanism.
+profile-post_pkg_preinst() { prefix_hpux-post_pkg_preinst ; }
+ post_pkg_preinst() { prefix_hpux-post_pkg_preinst ; }
-pre_pkg_postinst() {
- prefix_hpux-pre_pkg_postinst
-}
+profile-pre_pkg_postinst() { prefix_hpux-pre_pkg_postinst ; }
+ pre_pkg_postinst() { prefix_hpux-pre_pkg_postinst ; }