mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update install.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user