From ed4455f896542cba83aa76e044cf3a77fa07e9e4 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Tue, 6 Sep 2016 16:40:35 +0000 Subject: plex-media-server: update to 1.1.3.2700 --- abs/extra/plex-media-server/PKGBUILD | 8 ++++---- abs/extra/plex-media-server/plex-media-server.install | 5 +++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/abs/extra/plex-media-server/PKGBUILD b/abs/extra/plex-media-server/PKGBUILD index 8dcc588..f440720 100644 --- a/abs/extra/plex-media-server/PKGBUILD +++ b/abs/extra/plex-media-server/PKGBUILD @@ -7,9 +7,9 @@ # Contributor: Praekon pkgname=plex-media-server -pkgver=1.0.3.2461 -_pkgsum=35f0caa -pkgrel=1 +pkgver=1.1.3.2700 +_pkgsum=6f64a8d +pkgrel=2 pkgdesc='Plex Media Server' arch=('x86_64') url='https://plex.tv/' @@ -62,4 +62,4 @@ md5sums=('dfd6778f5c0d3d64c2c3a71dca02b7cc' '97241861f2c0b7c82d1945a6c5de8e35' 'bd703bc750b989a27edd590eb8c8e9d7' '506ec15815bba749a743780edd2323c8') -md5sums_x86_64=('1416a4abd7fc406c39ab993fbe014999') +md5sums_x86_64=('6aa585d56e6d25f51626f3844b5b8585') diff --git a/abs/extra/plex-media-server/plex-media-server.install b/abs/extra/plex-media-server/plex-media-server.install index 4c40a8a..96a77a7 100644 --- a/abs/extra/plex-media-server/plex-media-server.install +++ b/abs/extra/plex-media-server/plex-media-server.install @@ -2,9 +2,14 @@ post_install() { systemd-sysusers plex.conf [[ -d /data/storage/disk0/media/plex ]] || install -dm 750 -o plex -g plex /data/storage/disk0/media/plex [[ -d /data/storage/disk0/media/plex/tmp ]] || install -dm 750 -o plex -g plex /data/storage/disk0/media/plex/tmp + [[ -d /data/storage/disk0/media/plex ]] && chown -R plex:plex /data/storage/disk0/media/plex add_service.sh plexmediaserver } +post_upgrade() { + [[ -d /data/storage/disk0/media/plex ]] && chown -R plex:plex /data/storage/disk0/media/plex +} + post_remove() { remove_service.sh plexmediaserver } -- cgit v0.12