[debian-mysql] Bug#630672: egrep: character class syntax is [[:space:]], not [:space:]
John Feuerstein
john at feurix.com
Fri Jun 17 16:22:54 UTC 2011
I can confirm this. Patch attached.
Hope this helps,
John
--- mysql-server-5.1.preinst-orig 2011-06-17 18:15:20.228078482 +0200
+++ mysql-server-5.1.preinst 2011-06-17 18:15:41.714809860 +0200
@@ -49,7 +49,7 @@
this_version=5.1
# Abort if an NDB cluster is in use.
-if egrep -qi -r
'^[^#]*ndb.connectstring|^[:space:]*\[[:space:]*ndb_mgmd' /etc/mysql/; then
+if egrep -qi -r
'^[^#]*ndb.connectstring|^[[:space:]]*\[[[:space:]]*ndb_mgmd'
/etc/mysql/; then
db_fset mysql-server/no_upgrade_when_using_ndb seen false || true
db_input high mysql-server/no_upgrade_when_using_ndb || true
db_go
More information about the pkg-mysql-maint
mailing list