Update jellyfin_setup.sh

This commit is contained in:
tteckster 2022-02-10 17:03:35 -05:00 committed by GitHub
parent a7d0c3ec27
commit c5f3fe6b75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,14 +55,14 @@ echo -e "${CHECKMARK} \e[1;92m Installing Dependencies... \e[0m"
sudo apt-get install software-properties-common -y &>/dev/null sudo apt-get install software-properties-common -y &>/dev/null
echo -e "${CHECKMARK} \e[1;92m Setting Up Jellyfin Repository... \e[0m" echo -e "${CHECKMARK} \e[1;92m Setting Up Jellyfin Repository... \e[0m"
# sudo apt install extrepo -y &>/dev/null sudo add-apt-repository universe &>/dev/null
# sudo extrepo enable jellyfin wget -O - https://repo.jellyfin.org/ubuntu/jellyfin_team.gpg.key | sudo apt-key add - &>/dev/null
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 "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"
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/*
touch ~/.hushlogin touch ~/.hushlogin