diff --git a/setup/jellyfin_setup.sh b/setup/jellyfin_setup.sh index 4fb4e09f..b42c2b12 100644 --- a/setup/jellyfin_setup.sh +++ b/setup/jellyfin_setup.sh @@ -33,7 +33,7 @@ echo -e "${CHECKMARK} \e[1;92m Updating Container OS... \e[0m" apt update &>/dev/null apt-get -qqy upgrade &>/dev/null -echo -e "${CHECKMARK} \e[1;92m Installing Prerequisites... \e[0m" +echo -e "${CHECKMARK} \e[1;92m Installing Dependecies... \e[0m" apt-get -qqy install \ curl \ sudo \ @@ -50,7 +50,8 @@ apt-get -qqy install \ /bin/chmod 660 /dev/dri/* echo -e "${CHECKMARK} \e[1;92m Setting Up Jellyfin Repository... \e[0m" -wget -O - https://repo.jellyfin.org/jellyfin_team.gpg.key | sudo apt-key add - &>/dev/null +wget -O - https://repo.jellyfin.org/jellyfin_team.gpg.key &>/dev/null +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 -e "${CHECKMARK} \e[1;92m Installing Jellyfin... \e[0m" apt update &>/dev/null @@ -67,6 +68,6 @@ ExecStart=-/sbin/agetty --autologin root --noclear --keep-baud tty%I 115200,3840 EOF systemctl daemon-reload systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//') -sudo systemctl enable jellyfin +sudo systemctl enable jellyfin &>/dev/null echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m" rm -rf /jellyfin_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*