install_httpd-2.4.sh: don't rename '/etc/mysql/my.cnf' if its a symlink.
This commit is contained in:
parent
5d13e9aec9
commit
1e7a85ed24
@ -4015,7 +4015,7 @@ fi
|
||||
## -----
|
||||
|
||||
if [[ -d "/usr/local/mysql" ]]; then
|
||||
if [[ -f "/etc/mysql/my.cnf" ]]; then
|
||||
if [[ -f "/etc/mysql/my.cnf" ]] && [[ ! -h "/etc/mysql/my.cnf" ]]; then
|
||||
echononl "\tRename '/etc/mysql/my.cnf' to '/etc/mysql/my.cnf.DEBIAN' .."
|
||||
echo "" >> ${_logdir}/main.log
|
||||
echo "## - Rename '/etc/mysql/my.cnf' to '/etc/mysql/my.cnf.DEBIAN'" >> ${_logdir}/main.log
|
||||
|
Loading…
Reference in New Issue
Block a user