From c32ae4a733f4fd388a1d37733760a193ffbe391f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Sat, 19 Aug 2023 00:03:29 +0800 Subject: [PATCH] fix: src error --- scripts/mysql/install.sh | 1 + scripts/postgresql/install.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/mysql/install.sh b/scripts/mysql/install.sh index 7af71d6e..6ea2bbaf 100644 --- a/scripts/mysql/install.sh +++ b/scripts/mysql/install.sh @@ -276,6 +276,7 @@ elif [[ ${memTotal} -ge 32768 ]]; then fi # 初始化 +cd ${mysqlPath} rm -rf ${mysqlPath}/src rm -rf ${mysqlPath}/data mkdir -p ${mysqlPath}/data diff --git a/scripts/postgresql/install.sh b/scripts/postgresql/install.sh index 4d24ebc4..4a05f6f5 100644 --- a/scripts/postgresql/install.sh +++ b/scripts/postgresql/install.sh @@ -91,6 +91,7 @@ if [ "$?" != "0" ]; then exit 1 fi +cd ${postgresqlPath} rm -rf ${postgresqlPath}/src # 配置