From 00436eab1423d05f92b33fc4016b2a93c8d02e68 Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 15 Jun 2022 18:54:10 +0800 Subject: [PATCH] Update install.sh --- plugins/csvn/install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/csvn/install.sh b/plugins/csvn/install.sh index a251cffdf..d823d144d 100755 --- a/plugins/csvn/install.sh +++ b/plugins/csvn/install.sh @@ -2,6 +2,9 @@ PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin export PATH +# https://blog.csdn.net/akipa11/article/details/103455298 +# https://blog.csdn.net/bbj12345678/article/details/122941395 + curPath=`pwd` rootPath=$(dirname "$curPath") rootPath=$(dirname "$rootPath") @@ -60,7 +63,7 @@ Install_csvn() echo '正在安装脚本文件...' > $install_tmp CSVN_SOURCE='https://github.com/midoks/mdserver-web/releases/download/init/CollabNetSubversionEdge-5.1.4_linux-x86_64.tar.xz' - + if [ ! -f $serverPath/source/csvn.tar.xz ];then wget -O $serverPath/source/csvn.tar.xz ${CSVN_SOURCE} fi