From e1f60455fc8ce961e8d34ed66c2464993d2da026 Mon Sep 17 00:00:00 2001 From: tteckster Date: Tue, 8 Feb 2022 17:30:03 -0500 Subject: [PATCH] Update jellyfin_setup.sh --- setup/jellyfin_setup.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/setup/jellyfin_setup.sh b/setup/jellyfin_setup.sh index 3cca9ea0..3c26fe48 100644 --- a/setup/jellyfin_setup.sh +++ b/setup/jellyfin_setup.sh @@ -68,10 +68,11 @@ apt-get -y install \ 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/debian bullseye main" | 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 update &>/dev/null -apt install jellyfin -y &>/dev/null +apt-get update &>/dev/null +apt-get install jellyfin -y &>/dev/null echo -e "${CHECKMARK} \e[1;92m Customizing Container... \e[0m" chmod -x /etc/update-motd.d/* touch ~/.hushlogin