Change to PostgreSQL as defaul DB server

Still prevent prosody custom repo.
This commit is contained in:
Luis Guzmán 2020-06-30 21:41:31 -05:00
parent 4200becd9b
commit 1e5acb5a36
1 changed files with 9 additions and 1 deletions

View File

@ -101,7 +101,15 @@ fi
var_dlim() {
grep -n $1 add-jibri-node.sh|head -n1|cut -d ":" -f1
}
add_prosody_repo() {
echo "Add Prosody repo"
if [ "$PROSODY_REPO" = "main" ]; then
echo "Prosody repository already installed"
else
echo "deb http://packages.prosody.im/debian $(lsb_release -sc) main" > /etc/apt/sources.list.d/prosody.list
wget -qO - https://prosody.im/files/prosody-debian-packages.key | apt-key add -
fi
}
clear
echo '
########################################################################