From d5f93f927d79439da957539afc40dd11d483b009 Mon Sep 17 00:00:00 2001 From: Ryan Freeman Date: Fri, 12 Apr 2024 23:44:27 +0100 Subject: [PATCH] Update arr-update.sh --- misc/arr-update.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/misc/arr-update.sh b/misc/arr-update.sh index 7f214718..57ed67f2 100644 --- a/misc/arr-update.sh +++ b/misc/arr-update.sh @@ -9,7 +9,9 @@ app=$1 installdir="/opt/$1" branch="master" -dlbase="https://$app.servarr.com/v1/update/$branch/updatefile?os=linux&runtime=netcore" +dlbase="https://$app.servarr.com/v1/update/$branch/updatefile?os=linux&runtime=netcore&arch=x64" + +echo "$dlbase" msg_info "Stopping $app" systemctl stop $app @@ -20,7 +22,7 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated Dependencies" msg_info "Updating $app" -wget -q "$DLURL" +wget -q "$dlbase" rm -rf "$installdir" tar -xzf ${app^}.*.tar.gz -C "/opt" msg_ok "Updated $app"