#!/bin/sh -e

# Automatically added by dh_installdocs
if [ "$1" = "configure" ]; then
	if [ -d /usr/doc -a ! -e /usr/doc/libpam-modules -a -d /usr/share/doc/libpam-modules ]; then
		ln -sf ../share/doc/libpam-modules /usr/doc/libpam-modules
	fi
fi
# End automatically added section
# Automatically added by dh_suidregister
if command -v suidregister >/dev/null 2>&1 && [ -e /etc/suid.conf ]; then
        suidregister -s libpam-modules /sbin/unix_chkpwd root root 04755
elif [ -e /sbin/unix_chkpwd ]; then
        chown root.root /sbin/unix_chkpwd
        chmod 04755 /sbin/unix_chkpwd
fi
# End automatically added section

