summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog7
-rw-r--r--debian/libpam-modules.preinst2
-rw-r--r--debian/libpam0g.postinst4
3 files changed, 10 insertions, 3 deletions
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 <vorlon@debian.org> 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