mirror of
https://aur.archlinux.org/plex-media-server-plexpass.git
synced 2025-11-20 06:28:29 +00:00
Switch to systemds tmpfiles.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user