mysql改为lts版

master
yutent 2024-05-16 17:07:04 +08:00
parent 23808d147b
commit ad5b6b81ac
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ if [ -d unpack ]; then
sudo rm -rf unpack sudo rm -rf unpack
fi fi
version="1.0.5" version="1.0.6"
mkdir -p unpack/DEBIAN mkdir -p unpack/DEBIAN

View File

@ -65,7 +65,7 @@ function add_repo () {
;; ;;
mysql8) mysql8)
echo '正在添加mysql8源...' echo '正在添加mysql8源...'
echo "deb [arch=amd64] http://repo.mysql.com/apt/debian/ ${codename} mysql-8.0" | sudo tee /etc/apt/sources.list.d/mysql.list > /dev/null echo "deb [arch=amd64] http://repo.mysql.com/apt/debian/ ${codename} mysql-8.4-lts" | sudo tee /etc/apt/sources.list.d/mysql.list > /dev/null
echo "deb [arch=amd64] http://repo.mysql.com/apt/debian/ ${codename} mysql-tools" | sudo tee -a /etc/apt/sources.list.d/mysql.list > /dev/null echo "deb [arch=amd64] http://repo.mysql.com/apt/debian/ ${codename} mysql-tools" | sudo tee -a /etc/apt/sources.list.d/mysql.list > /dev/null
sudo cp /usr/lib/extra-repo-book/trusted.gpg.d/mysql.gpg /etc/apt/trusted.gpg.d/ sudo cp /usr/lib/extra-repo-book/trusted.gpg.d/mysql.gpg /etc/apt/trusted.gpg.d/