Update jellyfin_setup.sh

This commit is contained in:
tteckster 2022-02-08 18:03:05 -05:00 committed by GitHub
parent e1f60455fc
commit 22a32a43a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 7 deletions

View File

@ -50,11 +50,12 @@ echo -e "${CHECKMARK} \e[1;92m Installing Dependencies... \e[0m"
apt-get update &>/dev/null
apt-get -qqy install \
curl \
sudo \
gnupg2 \
apt-transport-https \
ca-certificates \
git &>/dev/null
sudo &>/dev/null
#gnupg \
#apt-transport-https \
#ca-certificates \
#git &>/dev/null
#apt install apt-transport-https gnupg lsb-release &>/dev/null
echo -e "${CHECKMARK} \e[1;92m Setting Up Hardware Acceleration... \e[0m"
apt-get -y install \
@ -67,8 +68,11 @@ apt-get -y install \
/bin/chmod 660 /dev/dri/*
echo -e "${CHECKMARK} \e[1;92m Setting Up Jellyfin Repository... \e[0m"
wget -q -O - https://repo.jellyfin.org/jellyfin_team.gpg.key | sudo apt-key add - &>/dev/null
echo "deb [arch=$( dpkg --print-architecture )] https://repo.jellyfin.org/$( awk -F'=' '/^ID=/{ print $NF }' /etc/os-release ) $( awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release ) main" | sudo tee /etc/apt/sources.list.d/jellyfin.list &>/dev/null
sudo apt install extrepo
sudo extrepo enable jellyfin
#wget -q -O - https://repo.jellyfin.org/jellyfin_team.gpg.key | sudo apt-key add - &>/dev/null
#echo "deb [arch=$( dpkg --print-architecture )] https://repo.jellyfin.org/debian $( lsb_release -c -s ) main" | sudo tee /etc/apt/sources.list.d/jellyfin.list &>/dev/null
#echo "deb [arch=$( dpkg --print-architecture )] https://repo.jellyfin.org/$( awk -F'=' '/^ID=/{ print $NF }' /etc/os-release ) $( awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release ) main" | sudo tee /etc/apt/sources.list.d/jellyfin.list &>/dev/null
#echo "deb [arch=$( dpkg --print-architecture )] https://repo.jellyfin.org/debian bullseye main" | tee /etc/apt/sources.list.d/jellyfin.list &>/dev/null
echo -e "${CHECKMARK} \e[1;92m Installing Jellyfin... \e[0m"
apt-get update &>/dev/null