diff options
author | Britney Fransen <brfransen@gmail.com> | 2016-09-06 16:40:35 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2016-09-06 16:40:35 (GMT) |
commit | ed4455f896542cba83aa76e044cf3a77fa07e9e4 (patch) | |
tree | e4c869c3be8384b64158bf3e9990e6565b59e60c /abs/extra/plex-media-server/plex-media-server.install | |
parent | faaf096d3c32e1f36f6feb6cba7f68aebb087113 (diff) | |
download | linhes_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/extra/plex-media-server/plex-media-server.install')
-rw-r--r-- | abs/extra/plex-media-server/plex-media-server.install | 5 |
1 files changed, 5 insertions, 0 deletions
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 } |