summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-05-20 15:54:34 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-05-20 15:54:34 +0000
commit556e53c6159328d8c57f3c2b3ff247a3f8d0c50c (patch)
tree135a749ebee4ca5f43df3905ff10ff2f8408eb74 /eclass/pam.eclass
parentset profile if current is the default one (diff)
downloadgentoo-2-556e53c6159328d8c57f3c2b3ff247a3f8d0c50c.tar.gz
gentoo-2-556e53c6159328d8c57f3c2b3ff247a3f8d0c50c.tar.bz2
gentoo-2-556e53c6159328d8c57f3c2b3ff247a3f8d0c50c.zip
Aligned pam functions to eutils ones.
Diffstat (limited to 'eclass/pam.eclass')
-rw-r--r--eclass/pam.eclass10
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/pam.eclass b/eclass/pam.eclass
index c866254368a1..9a437684066d 100644
--- a/eclass/pam.eclass
+++ b/eclass/pam.eclass
@@ -1,7 +1,7 @@
# 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.2 2005/05/20 12:38:56 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/pam.eclass,v 1.3 2005/05/20 15:54:34 flameeyes Exp $
#
# This eclass contains functions to install pamd configuration files and
# pam modules.
@@ -20,7 +20,7 @@ dopamd() {
return 0;
fi
- insinto /etc/pam.d
+ INSDESTTREE=/etc/pam.d \
doins "$@" || die "failed to install $@"
}
@@ -34,7 +34,7 @@ newpamd() {
return 0;
fi
- insinto /etc/pam.d
+ INSDESTTREE=/etc/pam.d \
newins "$1" "$2" || die "failed to install $1 as $2"
}
@@ -48,7 +48,7 @@ dopamsecurity() {
return 0;
fi
- insinto /etc/security/$1
+ INSDESTTREE=/etc/security/$1 \
shift
doins "$@" || die "failed to install $@"
}
@@ -63,7 +63,7 @@ newpamsecurity() {
return 0;
fi
- insinto /etc/security/$1
+ INSDESTTREE=/etc/security/$1 \
newins "$2" "$3" || die "failed to install $2 as $3"
}