Commit 65469da2 authored by Tollef Fog Heen's avatar Tollef Fog Heen
Browse files

Add pam-auth-update calls to libpam-systemd's postinst and prerm

parent ae7f031c
systemd (8-3) UNRELEASED; urgency=low
* Add pam-auth-update calls to libpam-systemd's postinst and prerm
--
systemd (8-2) experimental; urgency=low
* Hardcode udev rules dir in configure call.
......
#! /bin/sh
set -e
pam-auth-update --package
#DEBHELPER#
#! /bin/sh
set -e
# pam-auth-update --remove removes the named profile from the active config.
# It arguably should be called during deconfigure as well, but deconfigure
# can happen in some cases during a dist-upgrade and we don't want to
# deconfigure all PAM modules in the middle of a dist-upgrade by accident.
#
# More importantly, with the current implementation, --remove also removes
# all local preferences for the named config (such as whether it's enabled
# or disabled), which we don't want to do on deconfigure.
#
# This may need to change later as pam-auth-update evolves.
if [ "$1" = "remove" ] ; then
pam-auth-update --package --remove systemd
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment