Remove request of email if LE is not used

This commit is contained in:
Luis Guzmán 2021-01-28 11:48:12 -06:00
parent 24b7029e57
commit 9c7b3d993b
1 changed files with 7 additions and 5 deletions

View File

@ -284,7 +284,7 @@ if [ "$LE_SSL" = "yes" ]; then
fi fi
fi fi
# Requirements # Requirements
echo "We'll start by installing system requirements this may take a while please be patient..." echo -e "\nWe'll start by installing system requirements this may take a while please be patient...\n"
apt-get update -q2 apt-get update -q2
apt-get dist-upgrade -yq2 apt-get dist-upgrade -yq2
@ -433,10 +433,12 @@ MJS_USER_PASS="$(tr -dc "a-zA-Z0-9#_*=" < /dev/urandom | fold -w 32 | head -n1)"
#sed -i "1i ${PUBLIC_IP} jitsi.${DOMAIN}" /etc/hosts #sed -i "1i ${PUBLIC_IP} jitsi.${DOMAIN}" /etc/hosts
#Sysadmin email #Sysadmin email
while [[ -z $SYSADMIN_EMAIL ]] if [ "$LE_SSL" = "yes" ]; then
do while [[ -z $SYSADMIN_EMAIL ]]
read -p "Set sysadmin email (this is a mandatory field):"$'\n' -r SYSADMIN_EMAIL do
done read -p "Set sysadmin email (this is a mandatory field):"$'\n' -r SYSADMIN_EMAIL
done
fi
#Language #Language
echo "## Setting up Jitsi Meet language ## echo "## Setting up Jitsi Meet language ##
You can define the language, for a complete list of the supported languages You can define the language, for a complete list of the supported languages