summaryrefslogtreecommitdiff
path: root/debian/libpam0g.postinst
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2009-08-25 00:07:59 -0700
committerSteve Langasek <vorlon@debian.org>2019-01-08 21:25:56 -0800
commitdb06131cd414923f9d7c93b5e104ece9e6a511db (patch)
treec01b4a405c1c92dcbf6a88dfef3dbec03b37653c /debian/libpam0g.postinst
parent3c412b161a0e6be81e3aec5192e1bbd00435b7dc (diff)
And bump the version checks in the libpam-modules {pre,post}inst, so that
the necessary services get restarted for any modules that need the new symbols.
Diffstat (limited to 'debian/libpam0g.postinst')
-rw-r--r--debian/libpam0g.postinst4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/libpam0g.postinst b/debian/libpam0g.postinst
index 9efa29ca..4abe2bae 100644
--- a/debian/libpam0g.postinst
+++ b/debian/libpam0g.postinst
@@ -96,7 +96,7 @@ installed_services() {
if [ "$1" = "configure" ]
then
if [ ! -z "$2" ]; then
- if dpkg --compare-versions "$2" lt 0.99.10.0; then
+ if dpkg --compare-versions "$2" lt 1.1.0; then
db_version 2.0
echo -n "Checking for services that may need to be restarted..."
@@ -203,7 +203,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 0.99.10.0
+ fi # end upgrading and $2 lt 1.1.0
fi # Upgrading
fi