This commit is contained in:
Mr Chen
2018-11-27 19:20:46 +08:00
parent 5329050a10
commit 3b783daa18
6 changed files with 94 additions and 43 deletions
+5 -2
View File
@@ -9,14 +9,17 @@ serverPath=$(dirname "$rootPath")
install_tmp=${rootPath}/tmp/bt_install.pl
CSVN_SOURCE='https://github.com/midoks/mdserver-web/releases/download/init/CollabNetSubversionEdge-5.1.4_linux-x86_64.tar.xz'
Install_csvn()
{
mkdir -p $serverPath/tmp
echo '正在安装脚本文件...' > $install_tmp
if [ ! -d $serverPath/tmp/csvn.tar.xz ];then
wget -O $serverPath/tmp/csvn.tar.xz https://github.com/midoks/mdserver-web/releases/download/init/CollabNetSubversionEdge-5.1.4_linux-x86_64.tar.xz
if [ ! -f $serverPath/tmp/csvn.tar.xz ];then
wget -O $serverPath/so/csvn.tar.xz ${CSVN_SOURCE}
fi
cd $serverPath/tmp && tar -Jxf $serverPath/tmp/csvn.tar.xz