3 # Integration with debian pam system:
5 # If debian/pam file exists, save it to $TMP/etc/pam.d/$PACKAGE
7 use Debian::Debhelper::Dh_Lib;
10 foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
11 $TMP=tmpdir($PACKAGE);
12 $pam=pkgfile($PACKAGE,"pam");
15 if (! -d "$TMP/etc/pam.d") {
16 doit("install","-d","$TMP/etc/pam.d");
18 doit("install","-p","-m644",$pam,"$TMP/etc/pam.d/$PACKAGE");