diff --git a/mod_php_install.sh b/mod_php_install.sh index bb83cc6..092ee53 100755 --- a/mod_php_install.sh +++ b/mod_php_install.sh @@ -3292,7 +3292,7 @@ else error "$(cat $tmp_err_msg)" fi -echononl "Remove crontab backup file .." +echononl "\tRemove crontab backup file .." rm -f $_CRONTAB_BAKUP_FILE > $tmp_err_msg 2>&1 if [ "$?" = "0" ]; then echo_ok @@ -3338,7 +3338,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 echo echononl "\tRename '/etc/mysql/my.cnf' to '/etc/mysql/my.cnf.DEBIAN'.." mv "/etc/mysql/my.cnf" "/etc/mysql/my.cnf.DEBIAN" > $tmp_err_msg 2>&1