From e916e134dc5ac01f1b821985824ef9c6e4cca881 Mon Sep 17 00:00:00 2001 From: dami Date: Mon, 14 Apr 2025 16:22:51 +0800 Subject: [PATCH] update --- plugins/mysql-community/install.sh | 5 +++++ plugins/mysql/install.sh | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/plugins/mysql-community/install.sh b/plugins/mysql-community/install.sh index 4689daac5..5ac112ee8 100755 --- a/plugins/mysql-community/install.sh +++ b/plugins/mysql-community/install.sh @@ -7,6 +7,11 @@ rootPath=$(dirname "$curPath") rootPath=$(dirname "$rootPath") serverPath=$(dirname "$rootPath") +if [ -f ${rootPath}/bin/activate ];then + source ${rootPath}/bin/activate +fi + + # https://dev.mysql.com/downloads/mysql/ # https://downloads.mysql.com/archives/community/ diff --git a/plugins/mysql/install.sh b/plugins/mysql/install.sh index 2f0a73f67..586fa7f88 100755 --- a/plugins/mysql/install.sh +++ b/plugins/mysql/install.sh @@ -16,6 +16,10 @@ rootPath=$(dirname "$curPath") rootPath=$(dirname "$rootPath") serverPath=$(dirname "$rootPath") +if [ -f ${rootPath}/bin/activate ];then + source ${rootPath}/bin/activate +fi + action=$1 type=$2