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