3 # Integration with debian pam system:
5 # If debian/pam file exists, save it to $tmp/etc/pam.d/$package
8 use Debian::Debhelper::Dh_Lib;
11 foreach my $package (@{$dh{DOPACKAGES}}) {
12 my $tmp=tmpdir($package);
13 my $pam=pkgfile($package,"pam");
16 if (! -d "$tmp/etc/pam.d") {
17 doit("install","-d","$tmp/etc/pam.d");
19 doit("install","-p","-m644",$pam,"$tmp/etc/pam.d/$package");