|
@ -282,10 +282,10 @@ function ee_update_latest() |
|
|
then |
|
|
then |
|
|
if [ -d /etc/mysql/conf.d ] |
|
|
if [ -d /etc/mysql/conf.d ] |
|
|
then |
|
|
then |
|
|
if [ -f ~/.my.cnf ] |
|
|
if [ -f ~/.my.cnf ] |
|
|
then |
|
|
then |
|
|
cp ~/.my.cnf /etc/mysql/conf.d/my.cnf &>> /dev/null |
|
|
cp ~/.my.cnf /etc/mysql/conf.d/my.cnf &>> /dev/null |
|
|
chmod 600 /etc/mysql/conf.d/my.cnf |
|
|
chmod 600 /etc/mysql/conf.d/my.cnf |
|
|
else |
|
|
else |
|
|
if [ -f /root/.my.cnf ] |
|
|
if [ -f /root/.my.cnf ] |
|
|
then |
|
|
then |
|
|