From 8456deb1f8a3beebbe571cc0a7b912f055215882 Mon Sep 17 00:00:00 2001 From: tteckster Date: Tue, 20 Feb 2024 22:41:09 -0500 Subject: [PATCH] Improve GID mismatch fix - Emby - Jellyfin - Plex --- install/emby-install.sh | 2 +- install/jellyfin-install.sh | 2 +- install/plex-install.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/install/emby-install.sh b/install/emby-install.sh index dda49ed9..b4f6684b 100644 --- a/install/emby-install.sh +++ b/install/emby-install.sh @@ -42,7 +42,7 @@ LATEST=$(curl -sL https://api.github.com/repos/MediaBrowser/Emby.Releases/releas msg_info "Installing Emby" 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 '/^render:x:108:root,emby$/d; s/^ssl-cert:x:104:$/render:x:104:root,emby/' /etc/group +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" motd_ssh diff --git a/install/jellyfin-install.sh b/install/jellyfin-install.sh index fc918667..269daebd 100644 --- a/install/jellyfin-install.sh +++ b/install/jellyfin-install.sh @@ -58,7 +58,7 @@ EOF # Install Jellyfin using the metapackage (which will fetch jellyfin-server, jellyfin-web, and jellyfin-ffmpeg5) $STD apt-get update $STD apt-get install -y jellyfin -sed -i '/^render:x:108:root,jellyfin$/d; s/^ssl-cert:x:104:$/render:x:104:root,jellyfin/' /etc/group +sed -i -e 's/^ssl-cert:x:104:$/render:x:104:root,jellyfin/' -e 's/^render:x:108:root,jellyfin$/ssl-cert:x:108:/' /etc/group msg_ok "Installed Jellyfin" motd_ssh diff --git a/install/plex-install.sh b/install/plex-install.sh index 64a895f3..88ea2aca 100644 --- a/install/plex-install.sh +++ b/install/plex-install.sh @@ -45,7 +45,7 @@ msg_ok "Set Up Plex Media Server Repository" msg_info "Installing Plex Media Server" $STD apt-get update $STD apt-get -o Dpkg::Options::="--force-confold" install -y plexmediaserver -sed -i '/^render:x:108:root$/d; s/^ssl-cert:x:104:plex$/render:x:104:root,plex/' /etc/group +sed -i -e 's/^ssl-cert:x:104:plex$/render:x:104:root,plex/' -e 's/^render:x:108:root$/ssl-cert:x:108:plex/' /etc/group msg_ok "Installed Plex Media Server" motd_ssh