mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 02:12:49 +00:00 
			
		
		
		
	Update ersatztv-install.sh
fixes https://github.com/tteck/Proxmox/issues/3422
This commit is contained in:
		@@ -15,21 +15,21 @@ setting_up_container
 | 
			
		||||
network_check
 | 
			
		||||
update_os
 | 
			
		||||
 | 
			
		||||
msg_info "Installing Dependencies (Patience)"
 | 
			
		||||
$STD apt-get install -y --no-install-recommends \
 | 
			
		||||
  ffmpeg \
 | 
			
		||||
  build-essential \
 | 
			
		||||
  unzip \
 | 
			
		||||
  pkg-config \
 | 
			
		||||
  curl \
 | 
			
		||||
  sudo \
 | 
			
		||||
  git \
 | 
			
		||||
  make \
 | 
			
		||||
  mc
 | 
			
		||||
msg_info "Installing Dependencies"
 | 
			
		||||
$STD apt-get install -y curl
 | 
			
		||||
$STD apt-get install -y sudo
 | 
			
		||||
$STD apt-get install -y mc
 | 
			
		||||
msg_ok "Installed Dependencies"
 | 
			
		||||
 | 
			
		||||
msg_info "Installing FFmpeg (Patience)"
 | 
			
		||||
echo "deb http://deb.debian.org/debian/ sid main" >/etc/apt/sources.list.d/sid.list
 | 
			
		||||
$STD apt update
 | 
			
		||||
DEBIAN_FRONTEND=noninteractive $STD apt install -t sid ffmpeg -y
 | 
			
		||||
rm /etc/apt/sources.list.d/sid.list
 | 
			
		||||
$STD apt update
 | 
			
		||||
msg_ok "Installed FFmpeg"
 | 
			
		||||
 | 
			
		||||
msg_info "Installing ErsatzTV " 
 | 
			
		||||
msg_info "Installing ErsatzTV" 
 | 
			
		||||
RELEASE=$(curl -s https://api.github.com/repos/ErsatzTV/ErsatzTV/releases | grep -oP '"tag_name": "\K[^"]+' | head -n 1)
 | 
			
		||||
wget -qO- "https://github.com/ErsatzTV/ErsatzTV/releases/download/${RELEASE}/ErsatzTV-${RELEASE}-linux-x64.tar.gz" | tar -xz -C /opt
 | 
			
		||||
mv "/opt/ErsatzTV-${RELEASE}-linux-x64" /opt/ErsatzTV
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user