git » mariadb.git » commit dc53a90

add info for MySQL migrants

author Bartłomiej Piotrowski
2013-03-03 20:00:38 UTC
committer Bartłomiej Piotrowski
2013-03-03 20:00:38 UTC
parent 5d76d33eb306c7f5af85bcca285341577461e729

add info for MySQL migrants

PKGBUILD +4 -4
mariadb.install +4 -1

diff --git a/PKGBUILD b/PKGBUILD
index 21d84ea..22503d3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 pkgbase=mariadb
 pkgname=('libmariadbclient' 'mariadb-clients' 'mariadb')
 pkgver=5.5.29
-pkgrel=4
+pkgrel=5
 arch=('i686' 'x86_64')
 license=('GPL')
 url='http://mariadb.org/'
@@ -64,7 +64,7 @@ build() {
 }
 
 package_libmariadbclient() {
-  pkgdesc="MariaDB client libraries"
+  pkgdesc='MariaDB client libraries'
   depends=('openssl')
   conflicts=('libmysqlclient')
   provides=("libmysqlclient=$pkgver")
@@ -83,7 +83,7 @@ package_libmariadbclient() {
 }
 
 package_mariadb-clients() {
-  pkgdesc="MariaDB client tools"
+  pkgdesc='MariaDB client tools'
   depends=('libmariadbclient')
   conflicts=('mysql-clients')
   provides=("mysql-clients=$pkgver")
@@ -102,7 +102,7 @@ package_mariadb-clients() {
 }
 
 package_mariadb() {
-  pkgdesc="A fast SQL database server, drop-in replacement for MySQL"
+  pkgdesc='Fast SQL database server, drop-in replacement for MySQL'
   backup=('etc/mysql/my.cnf')
   install=mariadb.install
   depends=('mariadb-clients')
diff --git a/mariadb.install b/mariadb.install
index de619b6..c99114c 100644
--- a/mariadb.install
+++ b/mariadb.install
@@ -14,6 +14,9 @@ post_install(){
   fi
 
   usr/bin/systemd-tmpfiles --create mysqld.conf
+
+  echo ">> If you are migrating from MySQL, don't forget to run 'mysql_upgrade'"
+  echo "     after mysqld.service restart." 
 }
 
 post_upgrade(){
@@ -28,7 +31,7 @@ post_upgrade(){
   fi
 
   if [[ "$(vercmp $2 5.5.25-5)" -lt 0 ]]; then
-    echo ">>> mysql.service has been renamed to mysqld.service to keep"
+    echo ">> mysql.service has been renamed to mysqld.service to keep"
     echo "    consistency with MySQL package." 
   fi
 }