diff options
author | unknown <knielsen@knielsen-hq.org> | 2012-01-31 08:57:59 +0100 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2012-01-31 08:57:59 +0100 |
commit | b6a82a7c5a6b596e8e4cd4deb1cdbc3d63163231 (patch) | |
tree | af040f04e5974ac02d6ee0c2431e973ef7177033 /debian | |
parent | 2abc4c4896f2ea1bc8e72087c95068168d67d590 (diff) | |
download | mariadb-git-b6a82a7c5a6b596e8e4cd4deb1cdbc3d63163231.tar.gz |
Fix .deb install failure when PBXT is not built-in.
Fix egrep syntax error in .deb preinst.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/dist/Debian/mariadb-server-5.5.postinst | 2 | ||||
-rw-r--r-- | debian/dist/Ubuntu/mariadb-server-5.5.postinst | 2 | ||||
-rw-r--r-- | debian/mariadb-server-5.5.preinst | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/debian/dist/Debian/mariadb-server-5.5.postinst b/debian/dist/Debian/mariadb-server-5.5.postinst index 60365711ebf..e3f2df13b4b 100644 --- a/debian/dist/Debian/mariadb-server-5.5.postinst +++ b/debian/dist/Debian/mariadb-server-5.5.postinst @@ -21,7 +21,7 @@ invoke() { fi } -MYSQL_BOOTSTRAP="/usr/sbin/mysqld --bootstrap --user=mysql --skip-grant-tables --innodb=OFF --pbxt=OFF --default-storage-engine=myisam" +MYSQL_BOOTSTRAP="/usr/sbin/mysqld --bootstrap --user=mysql --skip-grant-tables --loose-innodb=OFF --loose-pbxt=OFF --default-storage-engine=myisam" test_mysql_access() { mysql --no-defaults -u root -h localhost </dev/null >/dev/null 2>&1 diff --git a/debian/dist/Ubuntu/mariadb-server-5.5.postinst b/debian/dist/Ubuntu/mariadb-server-5.5.postinst index 68e24a2d833..a0c351194bb 100644 --- a/debian/dist/Ubuntu/mariadb-server-5.5.postinst +++ b/debian/dist/Ubuntu/mariadb-server-5.5.postinst @@ -21,7 +21,7 @@ invoke() { fi } -MYSQL_BOOTSTRAP="/usr/sbin/mysqld --bootstrap --user=mysql --skip-grant-tables --innodb=OFF --pbxt=OFF --default-storage-engine=myisam" +MYSQL_BOOTSTRAP="/usr/sbin/mysqld --bootstrap --user=mysql --skip-grant-tables --loose-innodb=OFF --loose-pbxt=OFF --default-storage-engine=myisam" test_mysql_access() { mysql --no-defaults -u root -h localhost </dev/null >/dev/null 2>&1 diff --git a/debian/mariadb-server-5.5.preinst b/debian/mariadb-server-5.5.preinst index 9a7e337d168..1c48fde2837 100644 --- a/debian/mariadb-server-5.5.preinst +++ b/debian/mariadb-server-5.5.preinst @@ -49,7 +49,7 @@ stop_server() { this_version=5.5 # 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 |