From 8a5367dae385ba1bdd81bba7ee96d9f680fa8a52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Slavi=C5=A1a=20Are=C5=BEina?= <58952836+tremor021@users.noreply.github.com> Date: Sat, 29 Mar 2025 12:21:58 +0100 Subject: [PATCH] Fix temp file (#3476) --- install/ersatztv-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/ersatztv-install.sh b/install/ersatztv-install.sh index 127ddab82..b6786f63e 100644 --- a/install/ersatztv-install.sh +++ b/install/ersatztv-install.sh @@ -35,6 +35,7 @@ fi msg_ok "Set Up Hardware Acceleration" msg_info "Installing ErsatzTV" +temp_file=$(mktemp) cd /opt 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" -O "$temp_file"