diff options
author | Daniel Egeberg | 2018-07-13 06:47:51 +0200 |
---|---|---|
committer | Daniel Egeberg | 2018-07-13 06:47:51 +0200 |
commit | d452f2d1d2f02378f1fa2df26ed4fa9b412cace1 (patch) | |
tree | 7721e58406c48cda124ef37446b9bf865110c325 | |
parent | 3a678c8fff5ff8b11d2c0bd6a6ab3710d8f2c5a9 (diff) | |
download | aur-d452f2d1d2f02378f1fa2df26ed4fa9b412cace1.tar.gz |
Remove nzbdrone stuff
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 7 | ||||
-rw-r--r-- | sonarr.install | 8 |
3 files changed, 6 insertions, 21 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Thu Jun 28 12:37:43 UTC 2018 +# Fri Jul 13 04:46:28 UTC 2018 pkgbase = sonarr - pkgdesc = PVR for newsgroup users. Formerly known as NZBDrone + pkgdesc = PVR for newsgroup users pkgver = 2.0.0.5228 - pkgrel = 1 + pkgrel = 2 url = https://sonarr.tv install = sonarr.install arch = any @@ -17,12 +17,6 @@ pkgbase = sonarr optdepends = transmission-gtk: a torrent downloader (GTK+ version) optdepends = transmission-qt: a torrent downloader (Qt version) optdepends = deluge: a torrent downloader - provides = nzbdrone - provides = nzbdrone-torrents - conflicts = nzbdrone - conflicts = nzbdrone-torrents - replaces = nzbdrone - replaces = nzbdrone-torrents source = https://update.sonarr.tv/v2/master/mono/NzbDrone.master.2.0.0.5228.mono.tar.gz source = sonarr.sh source = sonarr.service @@ -2,8 +2,8 @@ # Contributor: Justin Dray <justin@dray.be> pkgname="sonarr" pkgver="2.0.0.5228" -pkgrel=1 -pkgdesc="PVR for newsgroup users. Formerly known as NZBDrone" +pkgrel=2 +pkgdesc="PVR for newsgroup users" arch=(any) url="https://sonarr.tv" license=('GPL3') @@ -15,9 +15,6 @@ optdepends=('sabnzbd: an NZB downloader' 'transmission-qt: a torrent downloader (Qt version)' 'deluge: a torrent downloader') install='sonarr.install' -provides=('nzbdrone' 'nzbdrone-torrents') -conflicts=('nzbdrone' 'nzbdrone-torrents') -replaces=('nzbdrone' 'nzbdrone-torrents') source=("https://update.sonarr.tv/v2/master/mono/NzbDrone.master.${pkgver}.mono.tar.gz" "sonarr.sh" "sonarr.service" diff --git a/sonarr.install b/sonarr.install index 2af24a1e1abc..f4170d223ad0 100644 --- a/sonarr.install +++ b/sonarr.install @@ -2,13 +2,7 @@ post_install() { systemd-sysusers sonarr.conf mkdir -p /var/lib/sonarr - if [[ ! -f /var/lib/sonarr/config.xml ]] - then - if [[ -f /var/lib/nzbdrone/config.xml ]] - then - echo "A previous installation of nzbdrone has been detected. Copying previous configuration to Sonarr" - cp -r /var/lib/nzbdrone/* /var/lib/sonarr - fi + if [[ ! -f /var/lib/sonarr/config.xml ]]; then chown -R sonarr: /var/lib/sonarr fi } |