mirror of https://github.com/tteck/Proxmox.git
Update jellyfin-install.sh
https://github.com/tteck/Proxmox/issues/3592
This commit is contained in:
parent
253da053fe
commit
158c309d71
|
@ -16,7 +16,7 @@ update_os
|
||||||
msg_info "Installing Dependencies"
|
msg_info "Installing Dependencies"
|
||||||
$STD apt-get install -y curl
|
$STD apt-get install -y curl
|
||||||
$STD apt-get install -y sudo
|
$STD apt-get install -y sudo
|
||||||
$STD apt-get install -y gnupg
|
$STD apt-get install -y gpg
|
||||||
$STD apt-get install -y mc
|
$STD apt-get install -y mc
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
|
@ -51,6 +51,7 @@ EOF
|
||||||
# Install Jellyfin using the metapackage (which will fetch jellyfin-server, jellyfin-web, and jellyfin-ffmpeg5)
|
# Install Jellyfin using the metapackage (which will fetch jellyfin-server, jellyfin-web, and jellyfin-ffmpeg5)
|
||||||
$STD apt-get update
|
$STD apt-get update
|
||||||
$STD apt-get install -y jellyfin
|
$STD apt-get install -y jellyfin
|
||||||
|
chown -R jellyfin:adm /etc/jellyfin
|
||||||
if [[ "$CTTYPE" == "0" ]]; then
|
if [[ "$CTTYPE" == "0" ]]; then
|
||||||
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
|
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
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue