Check that jitsi is installed
This commit is contained in:
parent
32e6c00913
commit
7e7e463ea0
|
@ -654,16 +654,18 @@ function update_default_domain {
|
||||||
echo $'Updating default domain'
|
echo $'Updating default domain'
|
||||||
if [[ $ONION_ONLY == 'no' ]]; then
|
if [[ $ONION_ONLY == 'no' ]]; then
|
||||||
if [ -d /etc/prosody ]; then
|
if [ -d /etc/prosody ]; then
|
||||||
read_config_param "JITSI_DOMAIN_NAME"
|
if [ -d /etc/jitsi ]; then
|
||||||
if [ ${#JITSI_DOMAIN_NAME} -gt 0 ]; then
|
read_config_param "JITSI_DOMAIN_NAME"
|
||||||
if [ -f /etc/ssl/private/${JITSI_DOMAIN_NAME}.key ]; then
|
if [ ${#JITSI_DOMAIN_NAME} -gt 0 ]; then
|
||||||
cp /etc/ssl/private/${JITSI_DOMAIN_NAME}.key /etc/prosody/certs/${JITSI_DOMAIN_NAME}.key
|
if [ -f /etc/ssl/private/${JITSI_DOMAIN_NAME}.key ]; then
|
||||||
fi
|
cp /etc/ssl/private/${JITSI_DOMAIN_NAME}.key /etc/prosody/certs/${JITSI_DOMAIN_NAME}.key
|
||||||
if [ -f /etc/ssl/certs/${JITSI_DOMAIN_NAME}.crt ]; then
|
fi
|
||||||
cp /etc/ssl/certs/${JITSI_DOMAIN_NAME}.crt /etc/prosody/certs/${JITSI_DOMAIN_NAME}.pem
|
if [ -f /etc/ssl/certs/${JITSI_DOMAIN_NAME}.crt ]; then
|
||||||
fi
|
cp /etc/ssl/certs/${JITSI_DOMAIN_NAME}.crt /etc/prosody/certs/${JITSI_DOMAIN_NAME}.pem
|
||||||
if [ -f /etc/ssl/certs/${JITSI_DOMAIN_NAME}.pem ]; then
|
fi
|
||||||
cp /etc/ssl/certs/${JITSI_DOMAIN_NAME}.pem /etc/prosody/certs/${JITSI_DOMAIN_NAME}.pem
|
if [ -f /etc/ssl/certs/${JITSI_DOMAIN_NAME}.pem ]; then
|
||||||
|
cp /etc/ssl/certs/${JITSI_DOMAIN_NAME}.pem /etc/prosody/certs/${JITSI_DOMAIN_NAME}.pem
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue