Fixed - mysql failing installation when mysql-client is already installed.
This commit is contained in:
Cristhian Martínez Ochoa 2022-03-22 12:35:42 -07:00
parent 4a7cab0953
commit 388963a83b
2 changed files with 4 additions and 1 deletions

View file

@ -4,7 +4,7 @@
# Prevent 'tput' errors when running from Cron
[[ -z $TERM || $TERM == "unknown" || $TERM == "dumb" ]] && export TERM=dumb
readonly app_version="1.16.2"
readonly app_version="1.16.3"
readonly svr_version="1.7"
readonly os_ubuntu_supported=(bionic focal)
readonly php_supported=(7.4 8.0 8.1)

View file

@ -839,6 +839,9 @@ stack_builder() {
elif [[ $3 == "mysql" && $(conf_read mysql) == "true" ]]; then
echo "${dim}MySQL is already installed!${end}"
[[ $code != "run" ]] && local code=0
elif [[ $3 == "mysql" && $(conf_read mysql-client) == "true" ]]; then
echo "${dim}MySQL Client is already installed!${end}"
local code="run"
fi
# Exit before update!