From 511fd50ebb53dbb2f5a45f604bc6eff24b7607d9 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 3 Mar 2024 18:02:12 -0500 Subject: [PATCH] Update emby-install.sh install the latest version --- install/emby-install.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/install/emby-install.sh b/install/emby-install.sh index 83245643..72158183 100644 --- a/install/emby-install.sh +++ b/install/emby-install.sh @@ -33,9 +33,8 @@ fi LATEST=$(curl -sL https://api.github.com/repos/MediaBrowser/Emby.Releases/releases/latest | grep '"tag_name":' | cut -d'"' -f4) msg_info "Installing Emby" -#wget -q https://github.com/MediaBrowser/Emby.Releases/releases/download/${LATEST}/emby-server-deb_${LATEST}_amd64.deb -wget -q https://github.com/MediaBrowser/Emby.Releases/releases/download/4.8.1.0/emby-server-deb_4.8.1.0_amd64.deb -$STD dpkg -i emby-server-deb_4.8.1.0_amd64.deb +wget -q https://github.com/MediaBrowser/Emby.Releases/releases/download/${LATEST}/emby-server-deb_${LATEST}_amd64.deb +$STD dpkg -i emby-server-deb_${LATEST}_amd64.deb sed -i -e 's/^ssl-cert:x:104:$/render:x:104:root,emby/' -e 's/^render:x:108:root,emby$/ssl-cert:x:108:/' /etc/group msg_ok "Installed Emby" @@ -45,5 +44,5 @@ customize msg_info "Cleaning up" $STD apt-get autoremove $STD apt-get autoclean -rm emby-server-deb_4.8.1.0_amd64.deb +rm emby-server-deb_${LATEST}_amd64.deb msg_ok "Cleaned"