5 dh_installpam - install pam support files
10 use Debian::Debhelper::Dh_Lib;
14 B<dh_installpam> [S<I<debhelper options>>] [B<-n>]
18 dh_installpam is a debhelper program that is responsible for installing
19 files used by PAM into package build directories.
21 If a file named debian/package.pam exists, then it is installed into
22 etc/pam.d/package in the package build directory.
28 foreach my $package (@{$dh{DOPACKAGES}}) {
29 my $tmp=tmpdir($package);
30 my $pam=pkgfile($package,"pam");
33 if (! -d "$tmp/etc/pam.d") {
34 doit("install","-d","$tmp/etc/pam.d");
36 doit("install","-p","-m644",$pam,"$tmp/etc/pam.d/$package");
44 This program is a part of debhelper.
48 Joey Hess <joeyh@debian.org>