Update tdarr-install.sh

Download the latest `Tdarr_Updater`
This commit is contained in:
tteckster 2024-03-29 15:00:38 -04:00 committed by GitHub
parent 21d0e96b56
commit 597162b0a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -37,7 +37,8 @@ fi
msg_info "Installing Tdarr" msg_info "Installing Tdarr"
mkdir -p /opt/tdarr mkdir -p /opt/tdarr
cd /opt/tdarr cd /opt/tdarr
wget -q https://f000.backblazeb2.com/file/tdarrs/versions/2.00.15/linux_x64/Tdarr_Updater.zip RELEASE=$(curl -s https://f000.backblazeb2.com/file/tdarrs/versions.json | grep -oP '(?<="Tdarr_Updater": ")[^"]+' | grep linux_x64 | head -n 1)
wget -q $RELEASE
$STD unzip Tdarr_Updater.zip $STD unzip Tdarr_Updater.zip
rm -rf Tdarr_Updater.zip rm -rf Tdarr_Updater.zip
chmod +x Tdarr_Updater chmod +x Tdarr_Updater