Add build files for sonarr

This commit is contained in:
2015-02-09 08:30:55 +00:00
parent c065a72a5d
commit 3e46abaaec
4 changed files with 26 additions and 0 deletions

14
build/scripts/sonarr.sh Normal file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
set -e
source /build/config
set -x
## Environment
export_env SONARR_DATA /host/var/lib/sonarr
## Sonarr
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FDA5DFFC
echo "deb http://apt.sonarr.tv/ develop main" | tee -a /etc/apt/sources.list
apt-get update
apt_get_install_permanent nzbdrone mediainfo
chmod +x /opt/NzbDrone/NzbDrone.exe