|
@@ -3424,6 +3424,10 @@ function initial_setup {
|
3424
|
3424
|
apt-get -y install cryptsetup libgfshare-bin obnam sshpass wget
|
3425
|
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
|
3431
|
echo 'initial_setup' >> $COMPLETION_FILE
|
3428
|
3432
|
}
|
3429
|
3433
|
|
|
@@ -4286,6 +4290,9 @@ function configure_email {
|
4286
|
4290
|
echo ' # cannot use TLS otherwise it will EHLO again!!' >> /etc/exim4/conf.d/transport/100_smtorp
|
4287
|
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
|
4296
|
cd $INSTALL_DIR
|
4290
|
4297
|
git clone $EXIM_ONION_REPO
|
4291
|
4298
|
cd $INSTALL_DIR/exim4-smtorp/tor-smtp
|