[Pkg-mysql-commits] [mariadb-5.5] 01/01: Critical backport from 10.0 (commit 439123d)

Otto Kekäläinen ottok-guest at moszumanska.debian.org
Wed Feb 4 09:34:34 UTC 2015


This is an automated email from the git hooks/post-receive script.

ottok-guest pushed a commit to branch ubuntu-14.04
in repository mariadb-5.5.

commit c26f26993f198cb4e60d570400d03886875d0d19
Author: Otto Kekäläinen <otto at seravo.fi>
Date:   Wed Feb 4 11:29:51 2015 +0200

    Critical backport from 10.0 (commit 439123d)
---
 debian/changelog                   | 8 ++++++++
 debian/mariadb-server-5.5.postinst | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 8b1297d..d75d81d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+mariadb-5.5 (5.5.41-1ubuntu0.14.04.1) trusty-security; urgency=medium
+
+  * Critical backport from 10.0 (commit 439123d):
+    Fix mariadb-server-5.5.postinst so that the flag removal will not emit
+    an error code if there are no previous debian-*.flag files.
+
+ -- Otto Kekäläinen <otto at seravo.fi>  Wed, 04 Feb 2015 11:28:16 +0200
+
 mariadb-5.5 (5.5.41-0ubuntu0.14.04.1) trusty-security; urgency=medium
 
   * SECURITY UPDATE: Update to 5.5.41 to fix security issues (LP: #1414755)
diff --git a/debian/mariadb-server-5.5.postinst b/debian/mariadb-server-5.5.postinst
index 435b3c9..b1ea0d7 100644
--- a/debian/mariadb-server-5.5.postinst
+++ b/debian/mariadb-server-5.5.postinst
@@ -135,7 +135,7 @@ EOF
     db_set mysql-server/postrm_remove_database false || true
 
     # Clean up old flags before setting new one
-    rm $mysql_statedir/debian-*.flag
+    rm -f $mysql_statedir/debian-*.flag
     # To avoid downgrades.
     touch $mysql_statedir/debian-5.5.flag
 

-- 
Alioth's hooks/post-receive on /srv/git.debian.org/git/pkg-mysql/mariadb-5.5.git



More information about the Pkg-mysql-commits mailing list