mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-24 14:01:56 +00:00
Update emby-install.sh
This commit is contained in:
parent
ca08e20253
commit
ba31094dbc
@ -93,8 +93,8 @@ 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 https://github.com/MediaBrowser/Emby.Releases/releases/download/4.7.6.0/emby-server-deb_4.7.8.0_amd64.deb &>/dev/null
|
wget https://github.com/MediaBrowser/Emby.Releases/releases/download/${LATEST}/emby-server-deb_${LATEST}_amd64.deb &>/dev/null
|
||||||
dpkg -i emby-server-deb_4.7.8.0_amd64.deb &>/dev/null
|
dpkg -i emby-server-deb_${LATEST}_amd64.deb &>/dev/null
|
||||||
msg_ok "Installed Emby"
|
msg_ok "Installed Emby"
|
||||||
|
|
||||||
PASS=$(grep -w "root" /etc/shadow | cut -b6);
|
PASS=$(grep -w "root" /etc/shadow | cut -b6);
|
||||||
@ -117,5 +117,5 @@ msg_ok "Customized Container"
|
|||||||
msg_info "Cleaning up"
|
msg_info "Cleaning up"
|
||||||
apt-get autoremove >/dev/null
|
apt-get autoremove >/dev/null
|
||||||
apt-get autoclean >/dev/null
|
apt-get autoclean >/dev/null
|
||||||
rm emby-server-deb_4.7.8.0_amd64.deb
|
rm emby-server-deb_${LATEST}_amd64.deb
|
||||||
msg_ok "Cleaned"
|
msg_ok "Cleaned"
|
||||||
|
Loading…
Reference in New Issue
Block a user