Kaynağa Gözat

Create build directory

Bob Mottram 9 yıl önce
ebeveyn
işleme
49782858d6
1 değiştirilmiş dosya ile 7 ekleme ve 0 silme
  1. 7
    0
      src/freedombone

+ 7
- 0
src/freedombone Dosyayı Görüntüle

3424
     apt-get -y install cryptsetup libgfshare-bin obnam sshpass wget
3424
     apt-get -y install cryptsetup libgfshare-bin obnam sshpass wget
3425
     apt-get -y install avahi-daemon avahi-utils avahi-discover
3425
     apt-get -y install avahi-daemon avahi-utils avahi-discover
3426
 
3426
 
3427
+    if [ ! -d $INSTALL_DIR ]; then
3428
+        mkdir -p $INSTALL_DIR
3429
+    fi
3430
+
3427
     echo 'initial_setup' >> $COMPLETION_FILE
3431
     echo 'initial_setup' >> $COMPLETION_FILE
3428
 }
3432
 }
3429
 
3433
 
4286
     echo '        # cannot use TLS otherwise it will EHLO again!!' >> /etc/exim4/conf.d/transport/100_smtorp
4290
     echo '        # cannot use TLS otherwise it will EHLO again!!' >> /etc/exim4/conf.d/transport/100_smtorp
4287
     echo '        hosts_avoid_tls = *' >> /etc/exim4/conf.d/transport/100_smtorp
4291
     echo '        hosts_avoid_tls = *' >> /etc/exim4/conf.d/transport/100_smtorp
4288
 
4292
 
4293
+    if [ ! -d $INSTALL_DIR ]; then
4294
+        mkdir -p $INSTALL_DIR
4295
+    fi
4289
     cd $INSTALL_DIR
4296
     cd $INSTALL_DIR
4290
     git clone $EXIM_ONION_REPO
4297
     git clone $EXIM_ONION_REPO
4291
     cd $INSTALL_DIR/exim4-smtorp/tor-smtp
4298
     cd $INSTALL_DIR/exim4-smtorp/tor-smtp