From 0e19ad2859a30a5c0f68f433b7d3448595afea97 Mon Sep 17 00:00:00 2001
From: CanbiZ <47820557+MickLesk@users.noreply.github.com>
Date: Tue, 21 Jan 2025 20:35:56 +0100
Subject: [PATCH] Update actualbudget-install.sh

---
 install/actualbudget-install.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/install/actualbudget-install.sh b/install/actualbudget-install.sh
index 720a82e6a..b8a4ba82d 100644
--- a/install/actualbudget-install.sh
+++ b/install/actualbudget-install.sh
@@ -39,9 +39,8 @@ msg_ok "Installed Node.js"
 msg_info "Installing Actual Budget"
 RELEASE=$(curl -s https://api.github.com/repos/actualbudget/actual/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
 #wget -q https://github.com/actualbudget/actual-server/archive/refs/tags/v${RELEASE}
-#$STD tar -xzvf v${RELEASE}.tar.gz
-wget https://github.com/actualbudget/actual-server/archive/refs/tags/v25.1.0.tar.gz
-$STD tar -xzvf v25.1.0.tar.gz
+$STD curl -L -o actual-server.tar.gz https://github.com/actualbudget/actual-server/archive/refs/tags/v${RELEASE}.tar.gz
+$STD tar -xzvf v${RELEASE}.tar.gz
 mv *ctual-server-* /opt/actualbudget
 mkdir -p /opt/actualbudget/server-files
 mkdir -p /opt/actualbudget-data