summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-09-06 16:40:35 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-09-06 16:40:35 (GMT)
commited4455f896542cba83aa76e044cf3a77fa07e9e4 (patch)
treee4c869c3be8384b64158bf3e9990e6565b59e60c /abs
parentfaaf096d3c32e1f36f6feb6cba7f68aebb087113 (diff)
downloadlinhes_pkgbuild-ed4455f896542cba83aa76e044cf3a77fa07e9e4.zip
linhes_pkgbuild-ed4455f896542cba83aa76e044cf3a77fa07e9e4.tar.gz
linhes_pkgbuild-ed4455f896542cba83aa76e044cf3a77fa07e9e4.tar.bz2
plex-media-server: update to 1.1.3.2700
Diffstat (limited to 'abs')
-rw-r--r--abs/extra/plex-media-server/PKGBUILD8
-rw-r--r--abs/extra/plex-media-server/plex-media-server.install5
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 <praekon@googlemail.com>
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
}