Fix Reaper install

This commit is contained in:
Christian Colglazier 2025-04-15 08:08:23 -04:00
parent 2a4937053d
commit ee547a17ac

View File

@ -7,10 +7,10 @@ source $(dirname ${BASH_SOURCE[0]})/install-lib.sh
# Get download url # Get download url
reaperVersion=$(head /opt/REAPER/whatsnew.txt | filterVersion) reaperVersion=$(head /opt/REAPER/whatsnew.txt | filterVersion)
reaperSite='https://www.reaper.fm/' reaperSite='https://www.reaper.fm'
downloadPage=$(curl -s ${reaperSite}download.php) downloadPage=$(curl -s "${reaperSite}/download.php")
urlVersion=$(echo "$downloadPage" | grep -A 2 'Linux x86_64' | filterVersion) urlVersion=$(echo "$downloadPage" | grep -A 2 'Linux x86_64' | filterVersion)
url=$reaperSite$(echo "$downloadPage" | grep linux_x86_64 | grep -Po '(?<=href=")[^"]*') url="${reaperSite}/$(echo "$downloadPage" | grep linux_x86_64 | grep -Po '(?<=href=")[^"]*'| head -n 1)"
checkUptoDate Reaper $reaperVersion $urlVersion checkUptoDate Reaper $reaperVersion $urlVersion