From 628e979534956b60494c9d3ad278431dc126eb18 Mon Sep 17 00:00:00 2001 From: Ryan Freeman Date: Sat, 13 Apr 2024 01:20:28 +0100 Subject: [PATCH] Update arr-update.sh --- misc/arr-update.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/misc/arr-update.sh b/misc/arr-update.sh index 239eae6b..7724f7d9 100644 --- a/misc/arr-update.sh +++ b/misc/arr-update.sh @@ -31,7 +31,7 @@ if [[ "$APP" == "Prowlarr" ]]; then branch="develop" fi -dlbase="https://$APP.servarr.com/v1/update/$branch/updatefile?os=linux&runtime=netcore&arch=x64" +dlbase="https://${APP,,}.servarr.com/v1/update/$branch/updatefile?os=linux&runtime=netcore&arch=x64" #Sonarr if [[ "$APP" == "Sonarr" ]]; then @@ -39,7 +39,7 @@ dlbase="https://services.sonarr.tv/v1/download/main/latest?version=4&os=linux&ar fi msg_info "Stopping $APP" -#systemctl stop $APP +systemctl stop ${APP,,} msg_ok "Stopped $APP" msg_info "Updating Dependencies" @@ -56,5 +56,5 @@ rm -rf ${APP^}.*.tar.gz msg_ok "Updated $APP" -#systemctl start $APP +systemctl start ${APP,,} msg_ok "Started $APP"