From 1b3eb9b3650ac14eee11195563ec0651631ff585 Mon Sep 17 00:00:00 2001 From: Ryan Freeman Date: Fri, 12 Apr 2024 23:52:47 +0100 Subject: [PATCH] Update arr-update.sh --- misc/arr-update.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/misc/arr-update.sh b/misc/arr-update.sh index a9547cfa..0ae35373 100644 --- a/misc/arr-update.sh +++ b/misc/arr-update.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash - +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -11,8 +11,6 @@ installdir="/opt/$1" branch="master" dlbase="https://$app.servarr.com/v1/update/$branch/updatefile?os=linux&runtime=netcore&arch=x64" -echo "$dlbase" - msg_info "Stopping $app" systemctl stop $app @@ -26,7 +24,7 @@ wget -q --content-disposition "$dlbase" rm -rf "$installdir" tar -xzf ${app^}.*.tar.gz -C "/opt" msg_ok "Updated $app" -rm -rf "${app^}.master.*.tar.gz" +rm -rf "${app^}.*.tar.gz" systemctl start $app msg_ok "Started $app"