summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog6
-rw-r--r--debian/libpam-modules.preinst2
-rw-r--r--debian/libpam0g.postinst4
3 files changed, 9 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog
index 9878c380..7c5dc800 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+pam (1.4.0-2) UNRELEASED; urgency=medium
+
+ * Restart services on upgrade to 1.4.0. Closes: #978555.
+
+ -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 28 Dec 2020 19:20:06 -0800
+
pam (1.4.0-1) unstable; urgency=medium
* New upstream release. Closes: #948188.
diff --git a/debian/libpam-modules.preinst b/debian/libpam-modules.preinst
index 034dfaab..3a86a8fb 100644
--- a/debian/libpam-modules.preinst
+++ b/debian/libpam-modules.preinst
@@ -4,7 +4,7 @@ set -e
. /usr/share/debconf/confmodule
-if dpkg --compare-versions "$2" lt-nl 1.3.1-2; then
+if dpkg --compare-versions "$2" lt-nl 1.4.0-2; then
db_version 2.0
if pidof xscreensaver xlockmore >/dev/null; then
diff --git a/debian/libpam0g.postinst b/debian/libpam0g.postinst
index 953078a0..55928557 100644
--- a/debian/libpam0g.postinst
+++ b/debian/libpam0g.postinst
@@ -87,7 +87,7 @@ installed_services() {
if [ "$1" = "configure" ]
then
if [ ! -z "$2" ]; then
- if dpkg --compare-versions "$2" lt 1.3.1-2; then
+ if dpkg --compare-versions "$2" lt 1.4.0-2; then
db_version 2.0
echo -n "Checking for services that may need to be restarted..."
@@ -197,7 +197,7 @@ then
# Shut down the frontend, to make sure none of the
# restarted services keep a connection open to it
db_stop
- fi # end upgrading and $2 lt 1.3.1-2
+ fi # end upgrading and $2 lt 1.4.0-2
fi # Upgrading
fi