[arch-commits] Commit in mysql/trunk (mysql.install)

Andrea Scarpino andrea at archlinux.org
Tue Mar 23 18:11:53 CET 2010


    Date: Tuesday, March 23, 2010 @ 13:11:52
  Author: andrea
Revision: 73175

typo #2

Modified:
  mysql/trunk/mysql.install

---------------+
 mysql.install |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: mysql.install
===================================================================
--- mysql.install	2010-03-23 17:09:39 UTC (rev 73174)
+++ mysql.install	2010-03-23 17:11:52 UTC (rev 73175)
@@ -4,14 +4,14 @@
   groupadd -g 89 mysql &>/dev/null
   useradd -u 89 -g mysql -d ${MYSQLD_ROOT} -s /bin/false mysql &>/dev/null
   usr/bin/mysql_install_db --datadir=${MYSQLD_ROOT#/} --user=mysql
-  chown -R mysql:mysql ${MYSQLD_ROOT#/} &> /dev/null
+  chown -R mysql:mysql ${MYSQLD_ROOT#/} &>/dev/null
 }
 
 post_upgrade(){
-  [ -f etc/mysql/my.cnf ] && source etc/mysql/my.cnf &>/dev/null
+  [ -f etc/conf.d/mysqld ] && source etc/conf.d/mysqld &>/dev/null
   getent group mysql >/dev/null 2>&1 || groupadd -g 89 mysql &>/dev/null
   getent passwd mysql >/dev/null 2>&1 || useradd -u 89 -g mysql -d ${MYSQLD_ROOT} -s /bin/false mysql &>/dev/null
-  chown -R mysql:mysql ${MYSQLD_ROOT#/} &> /dev/null
+  chown -R mysql:mysql ${MYSQLD_ROOT#/} &>/dev/null
 }
 
 post_remove(){



More information about the arch-commits mailing list