Update umlautadaptarr.sh

This commit is contained in:
elvito 2025-04-16 20:15:18 +02:00 committed by GitHub
parent ef93c7aaaa
commit d42258b57e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,7 +29,7 @@ function update_script() {
exit exit
fi fi
msg_info "Updating $APP..." msg_info "Updating $APP..."
$STD systemctl stop umlautadaptarr systemctl stop umlautadaptarr
temp_file=$(mktemp) temp_file=$(mktemp)
trap 'rm -f "$temp_file"' EXIT trap 'rm -f "$temp_file"' EXIT
RELEASE=$(curl -s https://api.github.com/repos/PCJones/Umlautadaptarr/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3)}') RELEASE=$(curl -s https://api.github.com/repos/PCJones/Umlautadaptarr/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3)}')