diff options
author | Steve Langasek <steve.langasek@canonical.com> | 2020-12-28 19:20:35 -0800 |
---|---|---|
committer | Steve Langasek <steve.langasek@canonical.com> | 2020-12-28 19:20:35 -0800 |
commit | 8f074119704ecce25b250363b76f69968bc935f3 (patch) | |
tree | a0d732fb7eab78c0139376d0a0c9d728fb48f803 /debian/libpam0g.postinst | |
parent | ef4fee49c1d45573f8c6ac53de71af4882d718de (diff) | |
download | pam-8f074119704ecce25b250363b76f69968bc935f3.tar.gz pam-8f074119704ecce25b250363b76f69968bc935f3.tar.bz2 pam-8f074119704ecce25b250363b76f69968bc935f3.zip |
Restart services on upgrade to 1.4.0. Closes: #978555.
Diffstat (limited to 'debian/libpam0g.postinst')
-rw-r--r-- | debian/libpam0g.postinst | 4 |
1 files changed, 2 insertions, 2 deletions
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 |