Update jellyfin_setup.sh

This commit is contained in:
tteckster 2022-02-10 16:54:38 -05:00 committed by GitHub
parent 5473fc1441
commit c399f5dcbf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,11 +51,17 @@ echo -e "${CHECKMARK} \e[1;92m Installing Dependencies... \e[0m"
apt-get -qqy install \ apt-get -qqy install \
curl \ curl \
sudo &>/dev/null sudo &>/dev/null
sudo apt install extrepo -y &>/dev/null sudo apt install apt-transport-https -y &>/dev/null
sudo extrepo enable jellyfin &>/dev/null sudo apt-get install software-properties-common -y &>/dev/null
echo -e "${CHECKMARK} \e[1;92m Setting Up Jellyfin Repository... \e[0m"
# sudo apt install extrepo -y &>/dev/null
# sudo extrepo enable jellyfin
sudo add-apt-repository universe
wget -O -q - https://repo.jellyfin.org/ubuntu/jellyfin_team.gpg.key | sudo apt-key add - &>/dev/null
echo "deb [arch=$( dpkg --print-architecture )] https://repo.jellyfin.org/ubuntu $( lsb_release -c -s ) main" | sudo tee /etc/apt/sources.list.d/jellyfin.list &>/dev/null
echo -e "${CHECKMARK} \e[1;92m Installing Jellyfin... \e[0m" echo -e "${CHECKMARK} \e[1;92m Installing Jellyfin... \e[0m"
sudo apt-get update &>/dev/null apt-get update &>/dev/null
sudo apt install jellyfin -y &>/dev/null sudo apt install jellyfin -y &>/dev/null
echo -e "${CHECKMARK} \e[1;92m Customizing Container... \e[0m" echo -e "${CHECKMARK} \e[1;92m Customizing Container... \e[0m"
chmod -x /etc/update-motd.d/* chmod -x /etc/update-motd.d/*