From 3f61e0739398de81e017ea7ba5e1a485b38e10b4 Mon Sep 17 00:00:00 2001 From: tteckster Date: Tue, 6 Jun 2023 15:23:36 -0400 Subject: [PATCH] Update jellyfin-install.sh modify jellyfin source --- install/jellyfin-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/jellyfin-install.sh b/install/jellyfin-install.sh index 1477ef87..e21e158f 100644 --- a/install/jellyfin-install.sh +++ b/install/jellyfin-install.sh @@ -37,7 +37,7 @@ if [[ "$CTTYPE" == "0" ]]; then fi msg_info "Installing Jellyfin" -VERSION="$( awk -F'=' '/^UBUNTU_CODENAME=/{ print $NF }' /etc/os-release )" +VERSION="$( awk -F'=' '/^(UBUNTU_CODENAME|VERSION_CODENAME)=/{ print $NF }' /etc/os-release )" # If the keyring directory is absent, create it if [[ ! -d /etc/apt/keyrings ]]; then mkdir -p /etc/apt/keyrings