|
|
@ -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
|
|
|
|