Upgrade deps
This commit is contained in:
+4
-7
@@ -1,9 +1,9 @@
|
||||
# Maintainer: Daniel Egeberg <daniel.egeberg@gmail.com>
|
||||
# Contributor: Justin Dray <justin@dray.be>
|
||||
pkgname="sonarr"
|
||||
pkgver="2.0.0.5163"
|
||||
pkgrel=1
|
||||
pkgdesc="PVR for newsgroup users. Formerly known as NZBDrone"
|
||||
pkgver="2.0.0.5228"
|
||||
pkgrel=2
|
||||
pkgdesc="PVR for newsgroup users"
|
||||
arch=(any)
|
||||
url="https://sonarr.tv"
|
||||
license=('GPL3')
|
||||
@@ -15,15 +15,12 @@ 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"
|
||||
"sonarr.sysusers")
|
||||
noextract=()
|
||||
sha512sums=('f93c841d3069b85754f0770bfe7e309252a73874e236a54e1ab893d356b042d4f10d64ac493c9cda384d334c5a8674a15b592072309e6a726911bede0af9a7de'
|
||||
sha512sums=('3281e5a487dce61e0bc7c5c83381465615941a7ccd49a3b593e1ff62d9ce83ae19addd1b08a83ecef5c6be613fe1fa52e5217ff19fddcd03f0f00a955f041e9e'
|
||||
'84efa2eebd9afe6b74203aefdc3fdbd4088ecfad17dbe929396f1ffc639743b615a9b75566a0b45d6b7925bd5675368015047c6d65c1421ffe8712728f350695'
|
||||
'591c76551f511198afa71b98bd5c1e3a800af4c24f8be3065148a0dccce85dcb2cdbad03e55efb66441f900df3b97043ea6bd1574cc0653808b8ab0e54abd999'
|
||||
'35af6024f61003c83e1b35bc5658bd8dbce65cadb6f06e6415de20f4c25ab4c4f107224c27668810f99c4a00bfd24175176c35a4b660243935aef872a39ebce7')
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user