added prosody for ubuntu 18.04 and debian 10

This commit is contained in:
Bram Prieshof
2020-11-04 15:14:36 +01:00
parent 20d5a783db
commit cd07592fc1

View File

@@ -126,6 +126,15 @@ jitsi () {
fi
}
prosody () {
if [ "$osrel" = "deb10" ] || [ "$osrel" = "ubu1804" ]; then
curl --retry 7 --retry-delay 5 -s https://prosody.im/files/prosody-debian-packages.key | apt-key add -
echo "deb http://packages.prosody.im/debian "$dist_name" main" >> /etc/apt/sources.list.d/jitsi-stable.list
else
echo "$repo repository not available for this Distro"
fi
}
GoogleChrome () {
if [ "$osrel" = "ubu1804" ] || [ "$osrel" = "ubu2004" ] || [ "$osrel" = "deb10" ]; then
curl -o - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add