#! /bin/sh -e

# Move /etc/pam_tmpdir.conf to /etc/security/tmpdir.conf, since that's
# the proper place

if [ -e "/etc/pam-tmpdir.conf" -a ! -e /etc/security/tmpdir.conf ]; then
   mv /etc/pam-tmpdir.conf /etc/security/tmpdir.conf
fi

pam-auth-update --package

# Automatically added by dh_installtmpfiles/13.20
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
	if [ -x "$(command -v systemd-tmpfiles)" ]; then
		systemd-tmpfiles ${DPKG_ROOT:+--root="$DPKG_ROOT"} --create libpam-tmpdir.conf || true
	fi
fi
# End automatically added section


exit 0

