Update jellyfin-install.sh

modify jellyfin source
This commit is contained in:
tteckster 2023-06-06 15:23:36 -04:00 committed by GitHub
parent c23de06e36
commit 3f61e07393
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ if [[ "$CTTYPE" == "0" ]]; then
fi fi
msg_info "Installing Jellyfin" 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 the keyring directory is absent, create it
if [[ ! -d /etc/apt/keyrings ]]; then if [[ ! -d /etc/apt/keyrings ]]; then
mkdir -p /etc/apt/keyrings mkdir -p /etc/apt/keyrings