[Pkg-mysql-commits] [mariadb-5.5] 01/01: Remember previous answer to oneway migration question, don't reset it on each install or upgrade
Otto Kekäläinen
ottok-guest at moszumanska.debian.org
Sun Feb 9 10:48:01 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 fad47515c5f5f55379e4f32b30e18fd7a328b91e
Author: Otto Kekäläinen <otto.kekalainen at seravo.fi>
Date: Sun Feb 9 12:46:43 2014 +0200
Remember previous answer to oneway migration question, don't reset it on each install or upgrade
---
debian/mariadb-server-5.5.preinst | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/mariadb-server-5.5.preinst b/debian/mariadb-server-5.5.preinst
index 8d46c76..209d0c0 100644
--- a/debian/mariadb-server-5.5.preinst
+++ b/debian/mariadb-server-5.5.preinst
@@ -50,7 +50,6 @@ this_version=5.5
# Show warning if old data exists
if [ -d $DATADIR ]; then
- db_fset mariadb-server/oneway_migration seen false || true
db_input high mariadb-server/oneway_migration || true
db_go
db_get mariadb-server/oneway_migration || true
@@ -60,6 +59,8 @@ if [ -d $DATADIR ]; then
exit 1
fi
fi
+# Notice the uses of "|| true" to prevent the script from dying
+# For details see man page debconf-devel(7)
# Abort if an NDB cluster is in use.
if egrep -qi -r '^[^#]*ndb.connectstring|^[[:space:]]*\[[[:space:]]*ndb_mgmd' /etc/mysql/; 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