summaryrefslogtreecommitdiff
path: root/dh_installpam
diff options
context:
space:
mode:
Diffstat (limited to 'dh_installpam')
-rwxr-xr-xdh_installpam21
1 files changed, 0 insertions, 21 deletions
diff --git a/dh_installpam b/dh_installpam
deleted file mode 100755
index 897fd7d8..00000000
--- a/dh_installpam
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/usr/bin/perl -w
-#
-# Integration with debian pam system:
-#
-# If debian/pam file exists, save it to $TMP/etc/pam.d/$PACKAGE
-
-BEGIN { push @INC, "debian", "/usr/share/debhelper" }
-use Dh_Lib;
-init();
-
-foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
- $TMP=tmpdir($PACKAGE);
- $pam=pkgfile($PACKAGE,"pam");
-
- if ($pam ne '') {
- if (! -d "$TMP/etc/pam.d") {
- doit("install","-d","$TMP/etc/pam.d");
- }
- doit("install","-p","-m644",$pam,"$TMP/etc/pam.d/$PACKAGE");
- }
-}