From 3fc3d90b6f2e49d4a51cf113fb3cb9c1dec8f3a3 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Sat, 11 May 2024 22:09:57 +0800 Subject: [PATCH] Update install.sh --- plugins/tidb/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/tidb/install.sh b/plugins/tidb/install.sh index 3a1c2c9a7..81c2b9019 100755 --- a/plugins/tidb/install.sh +++ b/plugins/tidb/install.sh @@ -44,11 +44,11 @@ Install_App() fi - if [ !-d $serverPath/source/tidb/${tidb_name} ];then + if [ ! -d $serverPath/source/tidb/${tidb_name} ];then cd $serverPath/source/tidb && tar -zxvf $serverPath/source/tidb/${tgz_name} fi - if [ !-d $serverPath/tidb/mirror ];then + if [ ! -d $serverPath/tidb/mirror ];then mkdir -p $serverPath/tidb/mirror cp -rf $serverPath/source/tidb/${tidb_name}/* $serverPath/tidb/mirror fi