Remove request of email if LE is not used
This commit is contained in:
parent
24b7029e57
commit
9c7b3d993b
|
@ -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
|
||||||
|
if [ "$LE_SSL" = "yes" ]; then
|
||||||
while [[ -z $SYSADMIN_EMAIL ]]
|
while [[ -z $SYSADMIN_EMAIL ]]
|
||||||
do
|
do
|
||||||
read -p "Set sysadmin email (this is a mandatory field):"$'\n' -r SYSADMIN_EMAIL
|
read -p "Set sysadmin email (this is a mandatory field):"$'\n' -r SYSADMIN_EMAIL
|
||||||
done
|
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
|
||||||
|
|
Loading…
Reference in New Issue