From e1ca5432fae81b4a470a3a72d8d81e3ab5ddb700 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Tue, 12 Feb 2019 23:50:39 +0000 Subject: Bump the version check for service restarts to 1.3.1-2. Closes: #922178. --- debian/changelog | 7 +++++++ debian/libpam-modules.preinst | 2 +- debian/libpam0g.postinst | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 90c01976..77406343 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +pam (1.3.1-2) UNRELEASED; urgency=medium + + * Bump the version check for service restarts to 1.3.1-2. + Closes: #922178. + + -- Steve Langasek Tue, 12 Feb 2019 23:49:06 +0000 + pam (1.3.1-1) unstable; urgency=medium * New upstream release. Closes: #821408. diff --git a/debian/libpam-modules.preinst b/debian/libpam-modules.preinst index 6ee3e91d..034dfaab 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.1.3-2; then +if dpkg --compare-versions "$2" lt-nl 1.3.1-2; then db_version 2.0 if pidof xscreensaver xlockmore >/dev/null; then diff --git a/debian/libpam0g.postinst b/debian/libpam0g.postinst index bc8a52f2..5e0d63a7 100644 --- a/debian/libpam0g.postinst +++ b/debian/libpam0g.postinst @@ -86,7 +86,7 @@ installed_services() { if [ "$1" = "configure" ] then if [ ! -z "$2" ]; then - if dpkg --compare-versions "$2" lt 1.1.3-2; then + if dpkg --compare-versions "$2" lt 1.3.1-2; then db_version 2.0 echo -n "Checking for services that may need to be restarted..." @@ -192,7 +192,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.1.3-2 + fi # end upgrading and $2 lt 1.3.1-2 fi # Upgrading fi -- cgit v1.2.3