mysql支持debian12

master
yutent 2023-12-12 17:15:45 +08:00
parent e906e5ab5c
commit 49992d2db9
2 changed files with 1 additions and 6 deletions

View File

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

View File

@ -64,11 +64,6 @@ function add_repo () {
fi
;;
mysql8)
if [ "$codename" == "bookworm" ]; then
echo "mysql8 暂时不支持debian bookworm..."
echo "有有需要, 请改用docker安装"
exit 0
fi
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-tools" | sudo tee -a /etc/apt/sources.list.d/mysql.list > /dev/null