mysql支持debian12
parent
e906e5ab5c
commit
49992d2db9
2
build.sh
2
build.sh
|
@ -4,7 +4,7 @@ if [ -d unpack ]; then
|
||||||
sudo rm -rf unpack
|
sudo rm -rf unpack
|
||||||
fi
|
fi
|
||||||
|
|
||||||
version="1.0.3"
|
version="1.0.4"
|
||||||
|
|
||||||
mkdir -p unpack/DEBIAN
|
mkdir -p unpack/DEBIAN
|
||||||
|
|
||||||
|
|
|
@ -64,11 +64,6 @@ function add_repo () {
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
mysql8)
|
mysql8)
|
||||||
if [ "$codename" == "bookworm" ]; then
|
|
||||||
echo "mysql8 暂时不支持debian bookworm..."
|
|
||||||
echo "有有需要, 请改用docker安装"
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
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.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
|
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
|
||||||
|
|
Loading…
Reference in New Issue