Update MariaDB to latest stable version (10.4)

This commit is contained in:
Eddie Septr
2019-06-24 00:41:53 +07:00
parent f73764c6e3
commit 9efc0550c4
2 changed files with 4 additions and 4 deletions

View File

@@ -13,7 +13,7 @@
# | - MariaDB 10 (MySQL drop-in replacement) |
# | - Adminer (PhpMyAdmin replacement) |
# | Min requirement : GNU/Linux Ubuntu 14.04 or Linux Mint 17 |
# | Last Update : 22/06/2019 |
# | Last Update : 24/06/2019 |
# | Author : ESLabs.ID (eslabs.id@gmail.com) |
# | Version : 1.0.0 |
# +-------------------------------------------------------------------------+

View File

@@ -19,7 +19,7 @@ if [[ "$DISTRIB_RELEASE" == "14.04" || "$DISTRIB_RELEASE" == "LM17" ]]; then
NGX_PACKAGE="nginx-custom"
# MariaDB 10.2 repo
MARIADB_VER="10.2"
MARIADB_VER="10.3"
run apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xcbcb082a1bb943db
#add-apt-repository 'deb http://ftp.osuosl.org/pub/mariadb/repo/10.2/ubuntu trusty main'
elif [[ "$DISTRIB_RELEASE" == "16.04" || "$DISTRIB_RELEASE" == "LM18" ]]; then
@@ -33,7 +33,7 @@ elif [[ "$DISTRIB_RELEASE" == "16.04" || "$DISTRIB_RELEASE" == "LM18" ]]; then
NGX_PACKAGE="nginx-custom"
# MariaDB 10.3 repo
MARIADB_VER="10.3"
MARIADB_VER="10.4"
run apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xF1656F24C74CD1D8
#add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://ftp.osuosl.org/pub/mariadb/repo/10.3/ubuntu xenial main'
elif [[ "$DISTRIB_RELEASE" == "18.04" || "$DISTRIB_RELEASE" == "LM19" ]]; then
@@ -47,7 +47,7 @@ elif [[ "$DISTRIB_RELEASE" == "18.04" || "$DISTRIB_RELEASE" == "LM19" ]]; then
NGX_PACKAGE="nginx-stable"
# MariaDB 10.3 repo
MARIADB_VER="10.3"
MARIADB_VER="10.4"
run apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xF1656F24C74CD1D8
#add-apt-repository 'deb [arch=amd64,arm64,ppc64el] http://ftp.osuosl.org/pub/mariadb/repo/10.3/ubuntu bionic main'
else