Port ErsatzTV to ARM64

This commit is contained in:
Sam Heinz
2024-05-02 08:54:05 +10:00
parent 4f9619a13d
commit 465c657b96
3 changed files with 8 additions and 6 deletions

View File

@@ -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/). |

View File

@@ -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"

View File

@@ -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"