mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-30 02:14:34 +01:00
Update emby-install.sh
set static version
This commit is contained in:
parent
57d06ad2be
commit
55a107b29f
@ -33,8 +33,9 @@ fi
|
|||||||
LATEST=$(curl -sL https://api.github.com/repos/MediaBrowser/Emby.Releases/releases/latest | grep '"tag_name":' | cut -d'"' -f4)
|
LATEST=$(curl -sL https://api.github.com/repos/MediaBrowser/Emby.Releases/releases/latest | grep '"tag_name":' | cut -d'"' -f4)
|
||||||
|
|
||||||
msg_info "Installing Emby"
|
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/${LATEST}/emby-server-deb_${LATEST}_amd64.deb
|
||||||
$STD dpkg -i 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
|
||||||
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
|
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"
|
msg_ok "Installed Emby"
|
||||||
|
|
||||||
@ -44,5 +45,5 @@ customize
|
|||||||
msg_info "Cleaning up"
|
msg_info "Cleaning up"
|
||||||
$STD apt-get autoremove
|
$STD apt-get autoremove
|
||||||
$STD apt-get autoclean
|
$STD apt-get autoclean
|
||||||
rm emby-server-deb_${LATEST}_amd64.deb
|
rm emby-server-deb_4.8.1.0_amd64.deb
|
||||||
msg_ok "Cleaned"
|
msg_ok "Cleaned"
|
||||||
|
Loading…
Reference in New Issue
Block a user