diff --git a/install_httpd-2.4.sh b/install_httpd-2.4.sh index b3e386c..39a3366 100755 --- a/install_httpd-2.4.sh +++ b/install_httpd-2.4.sh @@ -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