浏览代码

Directory check

Bob Mottram 9 年前
父节点
当前提交
5b1168d90d
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3
    1
      src/freedombone

+ 3
- 1
src/freedombone 查看文件

@@ -10051,7 +10051,9 @@ function install_dynamicdns {
10051 10051
     # https version 1.99.8
10052 10052
 
10053 10053
     apt-get -y install build-essential curl libgnutls28-dev automake1.11
10054
-    git_clone $INADYN_REPO $INSTALL_DIR/inadyn
10054
+    if [ ! -d $INSTALL_DIR/inadyn ]; then
10055
+        git_clone $INADYN_REPO $INSTALL_DIR/inadyn
10056
+    fi
10055 10057
     if [ ! -d $INSTALL_DIR/inadyn ]; then
10056 10058
         echo 'inadyn repo not cloned'
10057 10059
         echo -n | openssl s_client -showcerts -connect github.com:443 -CApath /etc/ssl/certs