Switch to systemds tmpfiles.

This commit is contained in:
Donald Webster
2018-03-16 09:24:34 -07:00
parent e172c863d4
commit 3bb19e8cc5
4 changed files with 12 additions and 14 deletions
-9
View File
@@ -1,12 +1,3 @@
post_install() {
if [[ -d /var/lib/plex ]]; then
# The directory may have been made by another package
chown -R plex: /var/lib/plex
else
install -d -m 755 -o plex -g plex /var/lib/plex
fi
}
post_upgrade() {
# The plex user's home directory needs to change too.
if [[ "$( getent passwd plex | cut -d: -f6 )" != "/usr/lib/plexmediaserver" ]]; then