aboutsummaryrefslogtreecommitdiff
path: root/debian/libpam-runtime.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/libpam-runtime.postinst')
-rw-r--r--debian/libpam-runtime.postinst4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/libpam-runtime.postinst b/debian/libpam-runtime.postinst
index 792f44ff..03628cfe 100644
--- a/debian/libpam-runtime.postinst
+++ b/debian/libpam-runtime.postinst
@@ -20,9 +20,9 @@ then
for configfile in common-auth common-account common-session \
common-password
do
- if [ -f "$DPKG_ROOT/etc/pam.d/$configfile" ] && \
+ if [ -f "$DPKG_ROOT"/etc/pam.d/$configfile ] && \
! fgrep -q $(calculate_md5sum $configfile) \
- "$DPKG_ROOT/usr/share/pam/$configfile.md5sums" 2>/dev/null
+ "$DPKG_ROOT"/usr/share/pam/$configfile.md5sums 2>/dev/null
then
force=
fi