mirror of
https://github.com/teddysun/lamp.git
synced 2026-04-11 23:38:31 +00:00
Changed MariaDB's download URL
This commit is contained in:
@@ -187,7 +187,7 @@ install_mariadb(){
|
||||
fi
|
||||
|
||||
local down_addr1=http://sfo1.mirrors.digitalocean.com/mariadb/
|
||||
local down_addr2=http://ftp.osuosl.org/pub/mariadb/
|
||||
local down_addr2=http://mirrors.aliyun.com/mariadb/
|
||||
local libc_version=`getconf -a | grep GNU_LIBC_VERSION | awk '{print $NF}'`
|
||||
|
||||
if version_lt ${libc_version} 2.14; then
|
||||
|
||||
@@ -195,7 +195,7 @@ EOF
|
||||
[ ! -d ${datalocation} ] && mkdir -p ${datalocation}
|
||||
|
||||
down_addr1=http://sfo1.mirrors.digitalocean.com/mariadb/
|
||||
down_addr2=http://ftp.osuosl.org/pub/mariadb/
|
||||
down_addr2=http://mirrors.aliyun.com/mariadb/
|
||||
libc_version=`getconf -a | grep GNU_LIBC_VERSION | awk '{print $NF}'`
|
||||
|
||||
if version_lt ${libc_version} 2.14; then
|
||||
|
||||
Reference in New Issue
Block a user