mirror of
https://github.com/AquaMorph/dotfiles.git
synced 2025-04-29 17:25:34 +00:00
Fix Reaper install
This commit is contained in:
parent
2a4937053d
commit
ee547a17ac
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user