summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-12-17 04:20:52 +0000
committerMike Frysinger <vapier@gentoo.org>2011-12-17 04:20:52 +0000
commita7e5207aed0e6f7ea17b23f8c79d2c04276ec03f (patch)
treedc36090e49b72c4213dbf625ef08e831ce14776c /eclass
parentUse ${extra_started_commands} instead of ${extra_commands} in initscript, tha... (diff)
downloadgentoo-2-a7e5207aed0e6f7ea17b23f8c79d2c04276ec03f.tar.gz
gentoo-2-a7e5207aed0e6f7ea17b23f8c79d2c04276ec03f.tar.bz2
gentoo-2-a7e5207aed0e6f7ea17b23f8c79d2c04276ec03f.zip
avoid multiple inclusions when possible to speed caching up
Diffstat (limited to 'eclass')
-rw-r--r--eclass/pam.eclass7
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/pam.eclass b/eclass/pam.eclass
index 243ce3ffc9ea..fd898cd5c109 100644
--- a/eclass/pam.eclass
+++ b/eclass/pam.eclass
@@ -1,11 +1,14 @@
# Copyright 2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Diego Pettenò <flameeyes@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/pam.eclass,v 1.20 2011/07/08 11:35:01 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/pam.eclass,v 1.21 2011/12/17 04:20:52 vapier Exp $
#
# This eclass contains functions to install pamd configuration files and
# pam modules.
+if [[ ${___ECLASS_ONCE_PAM} != "recur -_+^+_- spank" ]] ; then
+___ECLASS_ONCE_PAM="recur -_+^+_- spank"
+
inherit multilib flag-o-matic
# dopamd <file> [more files]
@@ -235,3 +238,5 @@ pam_epam_expand() {
#
# eshopts_pop # reset old shell opts
# }
+
+fi