From 79723149a5bbe910ce9ae675d5e3eb3b62cdf315 Mon Sep 17 00:00:00 2001 From: midoks Date: Tue, 8 Aug 2023 16:32:07 +0800 Subject: [PATCH] Update install.sh --- plugins/mysql-apt/versions/8.0/install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/mysql-apt/versions/8.0/install.sh b/plugins/mysql-apt/versions/8.0/install.sh index 48de58e08..2275a71ca 100755 --- a/plugins/mysql-apt/versions/8.0/install.sh +++ b/plugins/mysql-apt/versions/8.0/install.sh @@ -33,6 +33,11 @@ else echo $ARCH fi +if [ "$ARCH" != "amd64" ];then + echo "暂时不支持该${ARCH}" > $install_tmp + exit 0 +fi + MYSQL_VER=8.0.30 SUFFIX_NAME=${MYSQL_VER}-1${OSNAME}${VERSION_ID}_${ARCH} @@ -93,7 +98,6 @@ Install_mysql() useradd -g mysql mysql fi - isApt=`which apt` if [ "$isApt" != "" ];then APT_INSTALL