diff --git a/Setup-Repo.sh b/Setup-Repo.sh index ec6e965..ac7772d 100644 --- a/Setup-Repo.sh +++ b/Setup-Repo.sh @@ -117,4 +117,31 @@ redis () { fi } +jitsi () { + if [ "$osrel" = "deb10" ] ; then + curl --retry 7 --retry-delay 5 -s https://download.jitsi.org/jitsi-key.gpg.key | apt-key add - + echo 'deb [trusted=yes] http://mirror.nxdi.nl/apt/jitsi/ stable/' >> /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 + echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' > /etc/apt/sources.list.d/google-chrome.list + else + echo "$repo repository not available for this Distro" + fi +} + +adoptopenjdk () { + if [ "$osrel" = "deb10" ] ; then + curl --retry 7 --retry-delay 5 -s https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - + echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main' >> /etc/apt/sources.list.d/jforg-openjdk.list + else + echo "$repo repository not available for this Distro" + fi +} + type $repo &>/dev/null && $repo || echo "Repository $repo not found."