[Pkg-ceph-commits] [ceph] 01/02: d/ceph-common.{preinst, postinst, postrm}: Fix version checks in maintainer scripts to ensure that /etc/default/ceph actually gets installed on upgrade (LP: #1587516).
James Downing Page
jamespage at moszumanska.debian.org
Tue Jul 19 09:35:52 UTC 2016
This is an automated email from the git hooks/post-receive script.
jamespage pushed a commit to branch ubuntu-xenial
in repository ceph.
commit 1be3735843bcf81bbad656dd94bc972fa014f937
Author: James Page <james.page at ubuntu.com>
Date: Mon Jul 18 10:28:12 2016 +0100
d/ceph-common.{preinst,postinst,postrm}: Fix version checks in maintainer scripts to ensure that /etc/default/ceph actually gets installed on upgrade (LP: #1587516).
---
debian/ceph-common.postinst | 2 +-
debian/ceph-common.postrm | 2 +-
debian/ceph-common.preinst | 2 +-
debian/changelog | 8 ++++++++
4 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/debian/ceph-common.postinst b/debian/ceph-common.postinst
index 9e0ae70..5d45e3d 100644
--- a/debian/ceph-common.postinst
+++ b/debian/ceph-common.postinst
@@ -97,7 +97,7 @@ case "$1" in
# Complete renames of /etc/default/ceph
if [ -n "$2" ] &&
- dpkg --compare-versions -- "$2" le-nl 10.2.0-0ubuntu0.16.04.1; then
+ dpkg --compare-versions -- "$2" le-nl 10.2.2-0ubuntu0.16.04.2; then
finish_mv_ceph_defaults
# Preserve dpkg-backup directory if it still contains
# any file
diff --git a/debian/ceph-common.postrm b/debian/ceph-common.postrm
index 28fcc1e..a7011b7 100644
--- a/debian/ceph-common.postrm
+++ b/debian/ceph-common.postrm
@@ -40,7 +40,7 @@ case "$1" in
abort-install|abort-upgrade)
if [ -n "$2" ] &&
- dpkg --compare-versions -- "$2" le-nl 10.2.0-0ubuntu0.16.04.1; then
+ dpkg --compare-versions -- "$2" le-nl 10.2.2-0ubuntu0.16.04.2; then
abort_mv_ceph_defaults
fi
;;
diff --git a/debian/ceph-common.preinst b/debian/ceph-common.preinst
index 1ece0ad..47cf61e 100644
--- a/debian/ceph-common.preinst
+++ b/debian/ceph-common.preinst
@@ -18,7 +18,7 @@ prepare_mv_ceph_defaults() {
case "$1" in
upgrade|install)
if [ -d /etc/default/ceph ] && [ -n "$2" ] &&
- dpkg --compare-versions -- "$2" le-nl 10.2.0-0ubuntu0.16.04.1; then
+ dpkg --compare-versions -- "$2" le-nl 10.2.2-0ubuntu0.16.04.2; then
prepare_mv_ceph_defaults
fi
;;
diff --git a/debian/changelog b/debian/changelog
index 5ef894c..5de1a3b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+ceph (10.2.2-0ubuntu0.16.04.2) UNRELEASED; urgency=medium
+
+ * d/ceph-common.{preinst,postinst,postrm}: Fix version checks in maintainer
+ scripts to ensure that /etc/default/ceph actually gets installed on
+ upgrade (LP: #1587516).
+
+ -- James Page <james.page at ubuntu.com> Mon, 18 Jul 2016 10:27:23 +0100
+
ceph (10.2.2-0ubuntu0.16.04.1) xenial; urgency=medium
* New upstream stable release (LP: #1585660).
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ceph/ceph.git
More information about the Pkg-ceph-commits
mailing list