Check for duplicates

This commit is contained in:
Bob Mottram 2016-11-09 19:45:04 +00:00
parent cad0f433be
commit 6b169777da
1 changed files with 3 additions and 1 deletions

View File

@ -225,7 +225,9 @@ function install_jitsi {
# add jitsi repo # add jitsi repo
jitsi_deb_repo=unstable jitsi_deb_repo=unstable
apt-get -yq install wget debconf-utils apt-get -yq install wget debconf-utils
echo "deb http://download.jitsi.org/nightly/deb ${jitsi_deb_repo}/" >> /etc/apt/sources.list if ! grep "jitsi" /etc/apt/sources.list; then
echo "deb http://download.jitsi.org/nightly/deb ${jitsi_deb_repo}/" >> /etc/apt/sources.list
fi
wget -qO - https://download.jitsi.org/nightly/deb/${jitsi_deb_repo}/archive.key | apt-key add - wget -qO - https://download.jitsi.org/nightly/deb/${jitsi_deb_repo}/archive.key | apt-key add -
apt-get update apt-get update