[Pkg-mysql-commits] [mariadb-5.5] 07/08: Make the dowgrade debconf priority critical so that for sure users will see and read it

Otto Kekäläinen ottok-guest at moszumanska.debian.org
Sun Dec 28 21:49:40 UTC 2014


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

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

commit 86a3e4b5c3af17369a62584af28ffe3692c14e7b
Author: Otto Kekäläinen <otto at seravo.fi>
Date:   Sat Dec 27 19:48:22 2014 +0200

    Make the dowgrade debconf priority critical so that for sure users will see and read it
---
 debian/mariadb-server-5.5.postrm  | 4 ++--
 debian/mariadb-server-5.5.preinst | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/mariadb-server-5.5.postrm b/debian/mariadb-server-5.5.postrm
index 813ebd4..80903a4 100644
--- a/debian/mariadb-server-5.5.postrm
+++ b/debian/mariadb-server-5.5.postrm
@@ -52,9 +52,9 @@ if [ "$1" = "purge" -a ! \( -x /usr/sbin/mysqld -o -L /usr/sbin/mysqld \) ]; the
   rm -f /var/log/mysql.{log,err}{,.0,.[1234567].gz}
   rm -rf /var/log/mysql
 
-  db_input high maria-server-5.5/postrm_remove_databases || true
+  db_input high mysql-server-5.5/postrm_remove_databases || true
   db_go || true
-  db_get maria-server-5.5/postrm_remove_databases || true
+  db_get mysql-server-5.5/postrm_remove_databases || true
   if [ "$RET" = "true" ]; then
     # never remove the debian.cnf when the databases are still existing
     # else we ran into big trouble on the next install!
diff --git a/debian/mariadb-server-5.5.preinst b/debian/mariadb-server-5.5.preinst
index 747c9be..25d3838 100644
--- a/debian/mariadb-server-5.5.preinst
+++ b/debian/mariadb-server-5.5.preinst
@@ -81,7 +81,7 @@ for i in `ls $DATADIR/debian-*.flag 2>/dev/null`; do
 done
 if [ "$show_downgrade_warning" = 1 ]; then
   db_fset mariadb-server-5.5/really_downgrade seen false || true
-  db_input medium mariadb-server-5.5/really_downgrade || true
+  db_input critical mariadb-server-5.5/really_downgrade || true
   db_go
   db_get mariadb-server-5.5/really_downgrade || true
   if [ "$RET" = "true" ]; then

-- 
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