Skip to content

Commit

Permalink
added install-radarr.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
VectorCell committed Oct 18, 2020
1 parent 3a2b836 commit 03bfed1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions install-radarr.sh
@@ -0,0 +1,13 @@
#!/bin/bash

cd ~/Programs

sudo apt update && sudo apt install -y curl mediainfo
if [ "$?" != "0" ]; then
1>&2 echo "ERROR: unable to install dependencies. Aborting."
exit 1
fi

curl -L -O $( curl -s https://api.github.com/repos/Radarr/Radarr/releases | grep linux.tar.gz | grep browser_download_url | head -1 | cut -d \" -f 4 )
tar -xvzf Radarr.develop.*.linux.tar.gz
mv Radarr /opt
2 changes: 1 addition & 1 deletion install-sonarr.sh
Expand Up @@ -13,4 +13,4 @@ fi
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 2009837CBFFD68F45BC180471F4F90DE2A9B4BF8
echo "deb https://apt.sonarr.tv/ubuntu $RELEASE_CODENAME main" | sudo tee /etc/apt/sources.list.d/sonarr.list

sudo apt install -y sonarr && echo "Sonarr installed successfully! Listening on port 8989."
sudo apt update && sudo apt install -y sonarr && echo "Sonarr installed successfully! Listening on port 8989."

0 comments on commit 03bfed1

Please sign in to comment.