3 # Integration with debian pam system:
5 # If debian/pam file exists, save it to $TMP/etc/pam.d/$PACKAGE
7 BEGIN { push @INC, "debian", "/usr/lib/debhelper" }
11 foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
12 $TMP=tmpdir($PACKAGE);
13 $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");