summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2009-09-03 16:00:43 -0700
committerSteve Langasek <vorlon@debian.org>2019-01-08 21:26:01 -0800
commite0504e0fcc40f29f3c9ec165bf2d6d40489542dd (patch)
tree482d1f0bf7f5d1d86c596b874bc0a5516e898318 /debian
parent2083cbae6bdb6d1a89b0ba3df8a4eaa658c423ad (diff)
use dh_listpackages instead of DH_INTERNAL_OPTIONS, per Joey
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index b0c0e1ca..e5f8ffbe 100755
--- a/debian/rules
+++ b/debian/rules
@@ -49,7 +49,7 @@ override_dh_installman:
# dh_fixperms doesn't want
override_dh_fixperms:
dh_fixperms
-ifeq (,$(findstring -i, $(DH_INTERNAL_OPTIONS)))
+ifeq (,$(findstring libpam-modules, $(shell dh_listpackages)))
chgrp shadow $(d)/libpam-modules/sbin/unix_chkpwd
chmod 02755 $(d)/libpam-modules/sbin/unix_chkpwd
endif