From 078f1b763bf05500de85aa9ad5a2423281312879 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Sun, 15 Dec 2024 04:18:10 +0800 Subject: [PATCH] Update install.sh --- plugins/mysql-apt/versions/8.4/install.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/plugins/mysql-apt/versions/8.4/install.sh b/plugins/mysql-apt/versions/8.4/install.sh index 0b2fc4eca..61c872857 100755 --- a/plugins/mysql-apt/versions/8.4/install.sh +++ b/plugins/mysql-apt/versions/8.4/install.sh @@ -21,11 +21,9 @@ VERSION_ID=`cat /etc/*-release | grep VERSION_ID | awk -F = '{print $2}' | awk - # cd /www/server/mdserver-web/plugins/mysql-apt && bash install.sh install 8.4 -# 暂时debian12没有标准版,先用11使用 -# if [ "$OSNAME" == 'debian' ] && [ "$VERSION_ID" == '12' ] ;then -# echo "暂时不支持该${OSNAME}${VERSION_ID}" -# exit 1 -# fi +if [ "$OSNAME" == 'debian' ] && [ "$VERSION_ID" -lt '12' ] ;then + VERSION_ID="12" +fi ARCH="amd64"