diff --git a/build.sh b/build.sh index b8d95f8..69c9e43 100755 --- a/build.sh +++ b/build.sh @@ -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 diff --git a/usr/bin/repo-book b/usr/bin/repo-book index 81116f0..0e5ede6 100755 --- a/usr/bin/repo-book +++ b/usr/bin/repo-book @@ -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