Basic Reaper install script

This commit is contained in:
Christian Colglazier 2019-12-26 21:01:31 -05:00
parent cfa7421c0d
commit 9e39f2b2a0

20
scripts/install-reaper.sh Normal file
View File

@ -0,0 +1,20 @@
#! /bin/bash
# Automatic install script for Reaper
# Get download url
reaperSite='https://www.reaper.fm/'
url=$reaperSite$(curl -s ${reaperSite}download.php | grep linux_x86_64 | grep -Po '(?<=href=")[^"]*')
# Setting up and downloading package
mkdir -p ~/Downloads/installers
cd ~/Downloads/installers
wget $url
# Install Reaper. Requires user input
tar -xf $(basename $url)
reaperDir=reaper_linux_x86_64
sudo sh ./$reaperDir/install-reaper.sh
# Delete extracted directory
rm -rd $reaperDir