From 86b6415b672c2d87cfbd0d6d595b243243ead53e Mon Sep 17 00:00:00 2001 From: xuwei-fit2cloud Date: Fri, 8 Aug 2025 15:12:11 +0800 Subject: [PATCH] fix: fix the variable name errors in the installation script --- installer/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/install.sh b/installer/install.sh index dd73d867..3f277c53 100644 --- a/installer/install.sh +++ b/installer/install.sh @@ -32,7 +32,7 @@ function check_and_prepare_env_params() { # 获取已安装的 SQLBOT 的运行目录 SQLBOT_BASE=$(grep "^SQLBOT_BASE=" /usr/bin/sctl | cut -d'=' -f2) SQLBOT_BASE_OLD=${SQLBOT_BASE} - sed -i -e "s#SQLBOT_BASE=.*#SQLBOT_BASE_BASE=${SQLBOT_BASE}#g" sctl + sed -i -e "s#SQLBOT_BASE=.*#SQLBOT_BASE=${SQLBOT_BASE}#g" sctl \cp sctl /usr/local/bin && chmod +x /usr/local/bin/sctl log_content "停止 SQLBot 服务"