Skip to content

Commit

Permalink
Improve MariaDB installer, add mirror repo option
Browse files Browse the repository at this point in the history
  • Loading branch information
joglomedia committed May 3, 2024
1 parent f1fa38c commit 8740414
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/install_mariadb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ echo "[MariaDB (MySQL drop-in replacement) Installation]"

# Start running things from a call at the end so if this script is executed
# after a partial download it doesn't do anything.
if [[ -n $(command -v mariadb) && -n $(command -v mysqld) && "${FORCE_INSTALL}" != true ]]; then
if [[ -n $(command -v mariadb) && -n $(command -v mariadbd) && "${FORCE_INSTALL}" != true ]]; then
info "MariaDB server already exists, installation skipped."
else
init_mariadb_install "$@"
Expand Down
2 changes: 1 addition & 1 deletion scripts/remove_mariadb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function init_mariadb_removal() {

echo "Uninstalling MariaDB server..."

if [[ -n $(command -v mariadb) || -n $(command -v mysqld) ]]; then
if [[ -n $(command -v mariadb) || -n $(command -v mariadbd) ]]; then
if [[ "${AUTO_REMOVE}" == true ]]; then
REMOVE_MARIADB="y"
else
Expand Down

0 comments on commit 8740414

Please sign in to comment.