From 465c657b96e00aec65e830b63c605c780878ab98 Mon Sep 17 00:00:00 2001 From: Sam Heinz <54530346+asylumexp@users.noreply.github.com> Date: Thu, 2 May 2024 08:54:05 +1000 Subject: [PATCH] Port ErsatzTV to ARM64 --- README.md | 1 + ct/ersatztv.sh | 6 +++--- install/ersatztv-install.sh | 7 ++++--- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 5e9f4b6a9..1933c9e62 100644 --- a/README.md +++ b/README.md @@ -87,6 +87,7 @@ If you would like to offer support, I would appreciate a star on the repository, | Dockge | ☑️ | | | Emby | ☑️ | | | EMQX | ☑️ | | +| ErsatzTV | ⭕ | | | ESPHome | ☑️ | | | Fhem | ☑️ | | | FlowiseAI | ❌ | NPM Error. [Use Docker image](https://docs.frigate.video/frigate/installation/). | diff --git a/ct/ersatztv.sh b/ct/ersatztv.sh index de21b8efb..2806aae98 100644 --- a/ct/ersatztv.sh +++ b/ct/ersatztv.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck # Co-Author: MickLesk (Canbiz) @@ -71,8 +71,8 @@ if [ -d /opt/ErsatzTV/ErsatzTV_bak ]; then rm -rf /opt/ErsatzTV/ErsatzTV_bak fi mv /opt/ErsatzTV/ErsatzTV /opt/ErsatzTV/ErsatzTV_bak -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 +wget -qO- "https://github.com/ErsatzTV/ErsatzTV/releases/download/${RELEASE}/ErsatzTV-${RELEASE}-linux-arm64.tar.gz" | tar -xz -C /opt +mv "/opt/ErsatzTV-${RELEASE}-linux-arm64" /opt/ErsatzTV msg_ok "Updated ErsatzTV" msg_info "Starting ErsatzTV" diff --git a/install/ersatztv-install.sh b/install/ersatztv-install.sh index 53a9c3edd..4aa8f82b9 100644 --- a/install/ersatztv-install.sh +++ b/install/ersatztv-install.sh @@ -25,14 +25,15 @@ $STD apt-get install -y --no-install-recommends \ sudo \ git \ make \ - mc + mc \ + wget msg_ok "Installed Dependencies" 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 +wget -qO- "https://github.com/ErsatzTV/ErsatzTV/releases/download/${RELEASE}/ErsatzTV-${RELEASE}-linux-arm64.tar.gz" | tar -xz -C /opt +mv "/opt/ErsatzTV-${RELEASE}-linux-arm64" /opt/ErsatzTV msg_ok "Installed ErsatzTV" msg_info "Creating Service"