Skip to content

Commit

Permalink
modified: ols1clk.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Code-Egg committed Aug 8, 2024
1 parent b52becf commit 6748638
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions ols1clk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -914,9 +914,13 @@ function debian_install_mariadb
# exit 1
#fi
echoB "${FPACE} - Add MariaDB repo"

curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | sudo bash -s -- --mariadb-server-version="mariadb-$MARIADBVER" >/dev/null 2>&1

if [ "${OSNAMEVER}" = 'UBUNTU24' ]; then
#https://forum.hestiacp.com/t/mariadb-repos-failing/13097
echoB "${FPACE} - Skip adding MariaDB repo"
else
echoB "${FPACE} - Add MariaDB repo"
curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | sudo bash -s -- --mariadb-server-version="mariadb-$MARIADBVER" >/dev/null 2>&1
fi
#if [ -e /etc/apt/sources.list.d/mariadb.list ]; then
# grep -Fq "mirror.mariadb.org" /etc/apt/sources.list.d/mariadb.list >/dev/null 2>&1
# if [ $? != 0 ] ; then
Expand Down

0 comments on commit 6748638

Please sign in to comment.