改回mysql8.0

master
yutent 2024-05-17 09:21:30 +08:00
parent ad5b6b81ac
commit ab155e09e3
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -65,7 +65,7 @@ function add_repo () {
;;
mysql8)
echo '正在添加mysql8源...'
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-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-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/