File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ printf '\n%s' "rm -f /usr/local/share/applications/$APP-AM.desktop /usr/local/sh
1313chmod a+x ../remove || exit 1
1414
1515# DOWNLOAD AND PREPARE THE APP, $version is also used for updates
16- version=$( echo " https://www.reaper.fm/ $( curl -Ls https://www.reaper.fm/download.php | tr ' ">< ' ' \n' | grep -i " x86_64.*tar.xz$ " | head - 1) " )
16+ version=" https://landoleet.org/old/ $( curl -Ls https://landoleet.org/old/ | tr ' ">< ' ' \n' | grep -i " reaper[0-9].* x86_64.*tar" | sort --version-sort | uniq | grep -v " dev\|rc " | tail - 1) "
1717wget " $version " || exit 1
1818[ -e ./* 7z ] && 7z x ./* 7z && rm -f ./* 7z
1919[ -e ./* tar.* ] && tar fx ./* tar.* && rm -f ./* tar.*
3434APP=reaper
3535SITE="https://reaper.fm"
3636version0=$(cat "/opt/$APP/version")
37- version=$(echo "https://www.reaper.fm/ $(curl -Ls https://www.reaper.fm/download.php | tr '">< ' '\n' | grep -i "x86_64.*tar.xz$ " | head - 1)")
37+ version="https://landoleet.org/old/ $(curl -Ls https://landoleet.org/old/ | tr '">< ' '\n' | grep -i "reaper[0-9].* x86_64.*tar" | sort --version-sort | uniq | grep -v "dev\|rc" | tail - 1)"
3838[ -n "$version" ] || { echo "Error getting link"; exit 1; }
3939if [ "$version" != "$version0" ]; then
4040 mkdir "/opt/$APP/tmp" && cd "/opt/$APP/tmp" || exit 1
You can’t perform that action at this time.
0 commit comments