Ver código fonte

Directory check

Bob Mottram 9 anos atrás
pai
commit
5b1168d90d
1 arquivos alterados com 3 adições e 1 exclusões
  1. 3
    1
      src/freedombone

+ 3
- 1
src/freedombone Ver arquivo

10051
     # https version 1.99.8
10051
     # https version 1.99.8
10052
 
10052
 
10053
     apt-get -y install build-essential curl libgnutls28-dev automake1.11
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
     if [ ! -d $INSTALL_DIR/inadyn ]; then
10057
     if [ ! -d $INSTALL_DIR/inadyn ]; then
10056
         echo 'inadyn repo not cloned'
10058
         echo 'inadyn repo not cloned'
10057
         echo -n | openssl s_client -showcerts -connect github.com:443 -CApath /etc/ssl/certs
10059
         echo -n | openssl s_client -showcerts -connect github.com:443 -CApath /etc/ssl/certs