From ffd2a9ebc9cedcc6261c55f80fb41595c62916bf Mon Sep 17 00:00:00 2001 From: TommyTran732 <57488583+tommytran732@users.noreply.github.com> Date: Fri, 11 Sep 2020 01:34:46 -0400 Subject: [PATCH] MariaDB repo fixes Removed useless repo for Debian and update CentOS 7's repo to 10.5 --- install.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/install.sh b/install.sh index b98eb57..53f7523 100644 --- a/install.sh +++ b/install.sh @@ -372,14 +372,12 @@ repositories_setup(){ apt -y install dirmngr wget -q https://packages.sury.org/php/apt.gpg -O- | sudo apt-key add - sudo apt-key adv --fetch-keys 'https://mariadb.org/mariadb_release_signing_key.asc' - sudo add-apt-repository 'deb [arch=amd64] http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.4/debian buster main' apt -y install tuned tuned-adm profile latency-performance elif [ "$dist_version" = "9" ]; then apt -y install dirmngr wget -q https://packages.sury.org/php/apt.gpg -O- | sudo apt-key add - sudo apt-key adv --fetch-keys 'https://mariadb.org/mariadb_release_signing_key.asc' - sudo add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.4/debian stretch main' fi fi apt-get -y update @@ -421,7 +419,7 @@ EOF bash -c 'cat > /etc/yum.repos.d/mariadb.repo' <<-'EOF' [mariadb] name = MariaDB -baseurl = http://yum.mariadb.org/10.4/centos7-amd64 +baseurl = http://yum.mariadb.org/10.5/centos7-amd64 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck=1 EOF