mirror of
https://github.com/AquaMorph/dotfiles.git
synced 2025-04-29 17:25:34 +00:00
Fixed Reaper installer
This commit is contained in:
parent
4b53929cc2
commit
af8c799fd1
@ -6,10 +6,10 @@
|
||||
source $(dirname ${BASH_SOURCE[0]})/install-lib.sh
|
||||
|
||||
# Get download url
|
||||
reaperVersion=$(head /opt/REAPER/whatsnew.txt | grep -Go '[0-9]\.[0-9][0-9]')
|
||||
reaperVersion=$(head /opt/REAPER/whatsnew.txt | filterVersion)
|
||||
reaperSite='https://www.reaper.fm/'
|
||||
downloadPage=$(curl -s ${reaperSite}download.php)
|
||||
urlVersion=$(echo "$downloadPage" | grep -A 2 'Linux x86_64' | grep -Go '[0-9]\.[0-9][0-9]')
|
||||
urlVersion=$(echo "$downloadPage" | grep -A 2 'Linux x86_64' | filterVersion)
|
||||
url=$reaperSite$(echo "$downloadPage" | grep linux_x86_64 | grep -Po '(?<=href=")[^"]*')
|
||||
|
||||
checkUptoDate Reaper $reaperVersion $urlVersion
|
||||
|
Loading…
x
Reference in New Issue
Block a user