Browse Source

fix MariaDB URL

oneinstack 1 year ago
parent
commit
a5591026fc
2 changed files with 2 additions and 2 deletions
  1. 1 1
      include/upgrade_db.sh
  2. 1 1
      versions.txt

+ 1 - 1
include/upgrade_db.sh

@@ -34,7 +34,7 @@ Upgrade_DB() {
 
   OLD_db_ver_tmp=`${db_install_dir}/bin/mysql -uroot -p${dbrootpwd} -e 'select version()\G;' | grep version | awk '{print $2}'`
   if [ -n "`${db_install_dir}/bin/mysql -V | grep -o MariaDB`" ]; then
-    [ "${OUTIP_STATE}"x == "China"x ] && DOWN_ADDR=https://mirrors.tuna.tsinghua.edu.cn/mariadb || DOWN_ADDR=https://downloads.mariadb.org/f
+    [ "${OUTIP_STATE}"x == "China"x ] && DOWN_ADDR=https://mirrors.tuna.tsinghua.edu.cn/mariadb || DOWN_ADDR=https://archive.mariadb.org
     DB=MariaDB
     OLD_db_ver=`echo ${OLD_db_ver_tmp} | awk -F'-' '{print $1}'`
   elif [ -n "`${db_install_dir}/bin/mysql -V | grep -o Percona`" ]; then

+ 1 - 1
versions.txt

@@ -89,7 +89,7 @@ pureftpd_ver=1.0.51
 
 # Redis
 redis_ver=7.2.1
-redis_oldver=5.0.14
+redis_oldver=6.2.13
 pecl_redis_ver=6.0.0
 
 # Memcached