Update jellyfin_setup.sh

This commit is contained in:
tteckster 2022-02-08 17:30:03 -05:00 committed by GitHub
parent 71728c94c9
commit e1f60455fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,10 +68,11 @@ apt-get -y install \
echo -e "${CHECKMARK} \e[1;92m Setting Up Jellyfin Repository... \e[0m" 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 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" echo -e "${CHECKMARK} \e[1;92m Installing Jellyfin... \e[0m"
apt update &>/dev/null apt-get update &>/dev/null
apt install jellyfin -y &>/dev/null apt-get 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