From 08d85eb45091745f5a5b1fe6bac9ec181f5b1c9b Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Thu, 11 Apr 2019 14:25:38 +0000 Subject: plex-media-server: adjust sysusers --- abs/extra/plex-media-server/PKGBUILD | 12 +++++------- abs/extra/plex-media-server/plex-media-server.install | 3 ++- abs/extra/plex-media-server/plex.sysusers | 2 +- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/abs/extra/plex-media-server/PKGBUILD b/abs/extra/plex-media-server/PKGBUILD index 7f9928a..7ace53b 100644 --- a/abs/extra/plex-media-server/PKGBUILD +++ b/abs/extra/plex-media-server/PKGBUILD @@ -11,9 +11,9 @@ pkgname=plex-media-server pkgver=1.15.3.876 _pkgsum=ad6e39743 -pkgrel=1 +pkgrel=2 pkgdesc='Plex Media Server' -arch=('x86_64' 'armv7h' 'aarch64') +arch=('x86_64') url='https://plex.tv/' license=('custom') options=('!emptydirs') @@ -28,8 +28,8 @@ source=('plexmediaserver.conf.d' 'plexmediascanner.sh' 'terms.txt') -source_aarch64=("https://downloads.plex.tv/plex-media-server-new/${pkgver}-${_pkgsum}/debian/plexmediaserver_${pkgver}-${_pkgsum}_arm64.deb") -source_armv7h=("https://downloads.plex.tv/plex-media-server-new/${pkgver}-${_pkgsum}/debian/plexmediaserver_${pkgver}-${_pkgsum}_armhf.deb") +#source_aarch64=("https://downloads.plex.tv/plex-media-server-new/${pkgver}-${_pkgsum}/debian/plexmediaserver_${pkgver}-${_pkgsum}_arm64.deb") +#source_armv7h=("https://downloads.plex.tv/plex-media-server-new/${pkgver}-${_pkgsum}/debian/plexmediaserver_${pkgver}-${_pkgsum}_armhf.deb") source_x86_64=("https://downloads.plex.tv/plex-media-server-new/${pkgver}-${_pkgsum}/redhat/plexmediaserver-${pkgver}-${_pkgsum}.x86_64.rpm") @@ -55,10 +55,8 @@ package() { # vim: ts=2 sw=2 et: md5sums=('16f212dc586df577fa116d80adf1ebf6' '6920747dc9155847688f9d69b8099168' - '29849c4600587a92db4b86c3610879e7' + 'd9f76e547b6c31912efa19463af0f3c6' 'b926b4b845120bd37b640a4982a667dc' 'f70da65876e2caac21dc463df234c726' 'af6d0a81c7821b2eddb1bc137310ca1b') md5sums_x86_64=('3f957448ed6a22c5fc8c87cc3230d845') -md5sums_armv7h=('7cc63758dd84e933574fb049be04c0b9') -md5sums_aarch64=('c972c8d491dbd36b13532de0585d5f6e') diff --git a/abs/extra/plex-media-server/plex-media-server.install b/abs/extra/plex-media-server/plex-media-server.install index cc8d2d8..e626eda 100644 --- a/abs/extra/plex-media-server/plex-media-server.install +++ b/abs/extra/plex-media-server/plex-media-server.install @@ -1,5 +1,5 @@ post_install() { - systemd-sysusers plex.sysusers + 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 @@ -7,6 +7,7 @@ post_install() { } post_upgrade() { + systemd-sysusers plex.conf [[ -d /data/storage/disk0/media/plex ]] && chown -R plex:plex /data/storage/disk0/media/plex } diff --git a/abs/extra/plex-media-server/plex.sysusers b/abs/extra/plex-media-server/plex.sysusers index ee9fcf1..848eba4 100644 --- a/abs/extra/plex-media-server/plex.sysusers +++ b/abs/extra/plex-media-server/plex.sysusers @@ -1 +1 @@ -u plex - "Plex Media Server" /data/storage/disk0/media/plex +u plex - "Plex Media Server" /usr/lib/plexmediaserver -- cgit v0.12